]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jz/apply-run-3way-first'
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Apr 2021 20:36:00 +0000 (13:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Apr 2021 20:36:00 +0000 (13:36 -0700)
"git apply --3way" has always been "to fall back to 3-way merge
only when straight application fails". Swap the order of falling
back so that 3-way is always attempted first (only when the option
is given, of course) and then straight patch application is used as
a fallback when it fails.

* jz/apply-run-3way-first:
  git-apply: try threeway first when "--3way" is used


Trivial merge