pull: fix --legacy when pulling bottle from new repo
This commit is contained in:
parent
ade39af247
commit
df5bd0b796
@ -307,7 +307,7 @@ module Homebrew
|
||||
|
||||
# Fall back to three-way merge if patch does not apply cleanly
|
||||
patch_args << "-3"
|
||||
patch_args << "-p2" if ARGV.include?("--legacy")
|
||||
patch_args << "-p2" if ARGV.include?("--legacy") && !base_url.include?("BrewTestBot/homebrew-core")
|
||||
patch_args << patchpath
|
||||
|
||||
start_revision = `git rev-parse HEAD`.strip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user