diff options
author | Dan Winship <danw@gnome.org> | 2011-07-09 11:01:54 -0400 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2012-03-01 13:21:17 -0500 |
commit | 483d5e258f14176ed3cacd1138fae723a6a5fce3 (patch) | |
tree | dc60fb159577ab1871581bbcc1d010dd29ad63c6 | |
parent | f0e8b5c7233882f948a2638ae2711862477692fa (diff) | |
download | git-bz-483d5e258f14176ed3cacd1138fae723a6a5fce3.tar.gz |
apply: pass "-3" to git-am
Using 3-way merge makes it much more likely that the patch will apply
correctly when the local tree is newer than the tree that the patch
was generated from, and if the patch doesn't apply cleanly, git will
leave a file with conflict markers rather than forcing you to reapply
the patch manually.
https://bugzilla.gnome.org/show_bug.cgi?id=657558
-rwxr-xr-x | git-bz | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1552,7 +1552,7 @@ def do_apply(bug_reference): f.close() try: - process = git.am(filename, _interactive=True) + process = git.am("-3", filename, _interactive=True) except CalledProcessError: print "Patch left in %s" % filename break |