aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/pull.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index eefda3136..06b7639bb 100644
--- a/Library/Homebrew/cmd/pull.rb
+++ b/Library/Homebrew/cmd/pull.rb
@@ -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