[PATCH] diff-tree does not need -r in git-export.c
authorJunio C Hamano <junkio@cox.net>
Thu, 28 Apr 2005 19:22:11 +0000 (12:22 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 28 Apr 2005 19:22:11 +0000 (12:22 -0700)
No need to pass -r anymore, since diff-tree -p implies recursive
behaviour these days.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-export.c

index 9c867a2..77f5198 100644 (file)
@@ -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 -r %s %s", against, hex);
+               sprintf(cmdline, "diff-tree -p %s %s", against, hex);
                system(cmdline);
        }
        printf("======== end ========\n\n");