Skip to content
Snippets Groups Projects
Commit e866985b authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Fix local name from branch to branch_name

parent 6cd2256c
No related branches found
No related tags found
1 merge request!7237Don't execute git hooks if you create branch as part of other change
Pipeline #
Loading
Loading
@@ -1291,7 +1291,7 @@ class Repository
fetch_ref(
source_project.repository.path_to_repo,
"#{Gitlab::Git::BRANCH_REF_PREFIX}#{source_branch}",
"#{Gitlab::Git::BRANCH_REF_PREFIX}#{branch}"
"#{Gitlab::Git::BRANCH_REF_PREFIX}#{branch_name}"
)
 
[find_branch(branch_name), true]
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment