diff options
-rw-r--r-- | git-export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-export.c b/git-export.c index cf40946cfa..e817c759bf 100644 --- a/git-export.c +++ b/git-export.c @@ -18,7 +18,7 @@ void show_commit(struct commit *commit) char *against = sha1_to_hex(commit->parents->item->object.sha1); printf("\n\n======== diff against %s ========\n", against); fflush(NULL); - sprintf(cmdline, "git diff %s %s", against, hex); + sprintf(cmdline, "diff-tree -r -z %s %s | xargs -0 gitdiff-do %s %s", against, hex, against, hex); system(cmdline); } printf("======== end ========\n\n"); |