Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cl/p4-use-diff-tree'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 7 May 2014 21:39:29 +0000
(14:39 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 7 May 2014 21:39:29 +0000
(14:39 -0700)
Fixes a regression in 1.9.0 with an obviously correct single-liner.
* cl/p4-use-diff-tree:
git-p4: format-patch to diff-tree change breaks binary patches
git-p4.py
patch
|
blob
|
history
raw
(from parent 1:
1c65d3b
)
diff --git
a/git-p4.py
b/git-p4.py
index 8d11b25ae37761a9cfea263bd9a5591c0495fc1c..773cafcd89b6cd89d413e3d51056c4aaf53c1f2c 100755
(executable)
--- a/
git-p4.py
+++ b/
git-p4.py
@@
-1311,7
+1311,7
@@
def applyCommit(self, id):
else:
die("unknown modifier %s for %s" % (modifier, path))
- diffcmd = "git diff-tree -p \"%s\"" % (id)
+ diffcmd = "git diff-tree -
-full-index -
p \"%s\"" % (id)
patchcmd = diffcmd + " | git apply "
tryPatchCmd = patchcmd + "--check -"
applyPatchCmd = patchcmd + "--check --apply -"