From: Junio C Hamano Date: Thu, 28 Apr 2005 19:22:11 +0000 (-0700) Subject: [PATCH] diff-tree does not need -r in git-export.c X-Git-Tag: v0.99~707 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0cc087e3044a7ce19d276f736d983ad8344162f6;p=git.git [PATCH] diff-tree does not need -r in git-export.c No need to pass -r anymore, since diff-tree -p implies recursive behaviour these days. Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff --git a/git-export.c b/git-export.c index 9c867a285..77f5198b7 100644 --- 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 -p -r %s %s", against, hex); + sprintf(cmdline, "diff-tree -p %s %s", against, hex); system(cmdline); } printf("======== end ========\n\n");