remote-curl: mark helper-protocol errors more clearly
[gitweb.git] / git-p4.py
index cdfa2df5d8e0add0363f3e246362b437b72c4d58..4ee673994be6d4dca177dc054cb8a6bc6ed1f253 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 -"