projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
860edf7
)
Duh, just make git-export.c use the proper syntax, everything is fine.
author
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 02:19:11 +0000
(19:19 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 02:19:11 +0000
(19:19 -0700)
git-export.c
patch
|
blob
|
history
diff --git
a/git-export.c
b/git-export.c
index e817c759bf4d407df47ed6860ed520262ec6613c..6b5db93dbecf6251b69f873cd65b1f7e4e944460 100644
(file)
--- 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");