Refine prepare-forward-merge to detect master

pull/22022/head
Phillip Webb 5 years ago
parent 0a05b4c9fd
commit 97d4613fba

@ -25,7 +25,7 @@ def get_fixed_issues()
end
def rewrite_message(message_file, fixed)
current_branch = `git rev-parse --abbrev-ref HEAD`
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
if current_branch == "master"
current_branch = $master_branch
end

Loading…
Cancel
Save