diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-05-08 10:01:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-05-08 10:01:32 -0700 |
commit | bd513393554217c1f224d1a18cd20529e21055a5 (patch) | |
tree | 3dd06dbf130fc807237a660148f53b8e60ad78cf | |
parent | 6eca9c0e878dc1e6c8cab64c16183401e0580ea0 (diff) | |
parent | 749b668c7db563609de3de7595504f2dca8eef7d (diff) | |
download | git-bd513393554217c1f224d1a18cd20529e21055a5.tar.gz |
Merge branch 'cl/p4-use-diff-tree' into maint
"git p4" dealing with changes in binary files were broken by a
change in 1.9 release.
* cl/p4-use-diff-tree:
git-p4: format-patch to diff-tree change breaks binary patches
-rwxr-xr-x | git-p4.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1311,7 +1311,7 @@ class P4Submit(Command, P4UserMap): 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 -" |