Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 06:19:11 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 06:19:11 +0400
commit80913d4364c0be4d9b97eabcd2c8acb800c647c1 (patch)
tree7c1b27b76c1210b6197ac8c268c5e4d7b5ce1fac
parent860edf7a710245ac748ada2ae3c0581a79f51f55 (diff)
Duh, just make git-export.c use the proper syntax, everything is fine.
-rw-r--r--git-export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-export.c b/git-export.c
index e817c759bf..6b5db93dbe 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");