Default 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 Review URL: https://codereview.chromium.org/18966004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210695 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please
register
or
sign in
to comment