Skip to content

Commit

Permalink
Merge branch 'cl/p4-use-diff-tree' into maint
Browse files Browse the repository at this point in the history
"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
  • Loading branch information
Junio C Hamano committed May 8, 2014
2 parents 6eca9c0 + 749b668 commit bd51339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-p4.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 -"
Expand Down

0 comments on commit bd51339

Please sign in to comment.