From 80913d4364c0be4d9b97eabcd2c8acb800c647c1 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 20 Apr 2005 19:19:11 -0700 Subject: [PATCH] Duh, just make git-export.c use the proper syntax, everything is fine. --- git-export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-export.c b/git-export.c index e817c759..6b5db93d 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, "diff-tree -r -z %s %s | xargs -0 gitdiff-do %s %s", against, hex, against, hex); + sprintf(cmdline, "git diff -r %s:%s", against, hex); system(cmdline); } printf("======== end ========\n\n"); -- 2.11.0