brew-pull: let git-am attempt three-way merge if patch doesn't apply

This commit is contained in:
Jack Nagel 2014-07-05 16:34:22 -05:00
parent cf4080a9e0
commit 6c91c0806f

View File

@ -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