Commit e866985b authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix local name from branch to branch_name

parent 6cd2256c
......@@ -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]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment