Refine prepare-forward-merge to detect master

This commit is contained in:
Phillip Webb 2020-06-05 16:21:36 -07:00
parent 0a05b4c9fd
commit 97d4613fba

View File

@ -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