DescriptionDefault to using --3way when using `git cl patch` with git >= 1.7.12
Git introduced a --3way argument to `apply` in version 1.7.12 [1]. This
provides a much nicer way to apply issues from Rietveld.
After this change, `git cl patch` will add --3way after checking the git
version for support.
[1] https://github.com/git/git/commit/f247b10aa0f75727f1b4bdd67b060720b8219b29
BUG=None
TEST=Ran `git cl patch <issue>` with both clean and unclean patches,
also checked behaviour of --reject is preserved.
R=maruel@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210695
Patch Set 1 #Patch Set 2 : Baseline from reverted change in http://crrev.com/16211005 #Patch Set 3 : add a git version check ( >= 1.7.12 ) #Patch Set 4 : rebase for r210503 #Messages
Total messages: 4 (0 generated)
|