fix origin_branch_name
This commit is contained in:
parent
6f813eba13
commit
a2b80e4ec2
@ -123,7 +123,7 @@ module Homebrew
|
||||
|
||||
tap_remote_repo = formula.tap.full_name || formula.tap.remote_repo
|
||||
remote = "origin"
|
||||
remote_branch = formula.tap.path.git_origin_branch
|
||||
remote_branch = formula.tap.git_repo.origin_branch_name
|
||||
previous_branch = "-"
|
||||
|
||||
check_open_pull_requests(formula, tap_remote_repo, args: args)
|
||||
|
@ -576,7 +576,7 @@ module GitHub
|
||||
old_contents = info[:old_contents]
|
||||
additional_files = info[:additional_files] || []
|
||||
remote = info[:remote] || "origin"
|
||||
remote_branch = info[:remote_branch] || tap.path.git_origin_branch
|
||||
remote_branch = info[:remote_branch] || tap.git_repo.origin_branch_name
|
||||
branch = info[:branch_name]
|
||||
commit_message = info[:commit_message]
|
||||
previous_branch = info[:previous_branch] || "-"
|
||||
|
Loading…
x
Reference in New Issue
Block a user