aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-05 16:34:22 -0500
committerJack Nagel2014-07-05 16:35:43 -0500
commitd27d37e455a9cf9dc53308d679bcf6eabde7720c (patch)
tree4fa01ee9f01e8bc2e1c5d54c6dd824023ab55dd5 /Library
parent7940203d0401e77f038985be72cd2e9fca75d93a (diff)
downloadhomebrew-d27d37e455a9cf9dc53308d679bcf6eabde7720c.tar.bz2
brew-pull: let git-am attempt three-way merge if patch doesn't apply
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-pull.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb
index 9cc6b478e..24294320b 100755
--- a/Library/Contributions/cmd/brew-pull.rb
+++ b/Library/Contributions/cmd/brew-pull.rb
@@ -66,6 +66,9 @@ ARGV.named.each do |arg|
else
patch_args << '--whitespace=fix'
end
+
+ # Fall back to three-way merge if patch does not apply cleanly
+ patch_args << "-3"
patch_args << patchpath
begin