[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 9c867a285b7753859bb2cdcdb2615b386847db70..77f5198b7f39b1df78e24d99bc305f192154d54f 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");