summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a3df180)
raw | patch | inline | side by side (parent: a3df180)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 29 Apr 2005 21:54:50 +0000 (14:54 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 29 Apr 2005 21:54:50 +0000 (14:54 -0700) |
This fixes the git-export which calls diff-tree.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
export.c | patch | blob | history |
diff --git a/export.c b/export.c
index 77f5198b7f39b1df78e24d99bc305f192154d54f..885f4e88fc93368862c44f359b7149c576e0c841 100644 (file)
--- a/export.c
+++ b/export.c
char *against = sha1_to_hex(commit->parents->item->object.sha1);
printf("\n\n======== diff against %s ========\n", against);
fflush(NULL);
- sprintf(cmdline, "diff-tree -p %s %s", against, hex);
+ sprintf(cmdline, "git-diff-tree -p %s %s", against, hex);
system(cmdline);
}
printf("======== end ========\n\n");