Merge pull request #15247 from dduugg/15245
This commit is contained in:
commit
140273badb
@ -545,9 +545,9 @@ module Homebrew
|
|||||||
return unless Utils::Git.available?
|
return unless Utils::Git.available?
|
||||||
|
|
||||||
commands = Tap.map do |tap|
|
commands = Tap.map do |tap|
|
||||||
next if tap.path.git_default_origin_branch?
|
next if tap.git_repo.default_origin_branch?
|
||||||
|
|
||||||
"git -C $(brew --repo #{tap.name}) checkout #{tap.path.git_origin_branch}"
|
"git -C $(brew --repo #{tap.name}) checkout #{tap.git_repo.origin_branch_name}"
|
||||||
end.compact
|
end.compact
|
||||||
|
|
||||||
return if commands.blank?
|
return if commands.blank?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user