[PATCH] The big git command renaming fallout fix.
authorJunio C Hamano <junkio@cox.net>
Fri, 29 Apr 2005 21:54:50 +0000 (14:54 -0700)
committerLinus 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>
export.c
index 77f5198b7f39b1df78e24d99bc305f192154d54f..885f4e88fc93368862c44f359b7149c576e0c841 100644 (file)
--- a/export.c
+++ b/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 -p %s %s", against, hex);
+               sprintf(cmdline, "git-diff-tree -p %s %s", against, hex);
                system(cmdline);
        }
        printf("======== end ========\n\n");