summaryrefslogtreecommitdiff
path: root/git-export.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-04-28 12:22:11 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 12:22:11 -0700
commit0cc087e3044a7ce19d276f736d983ad8344162f6 (patch)
tree4c8c620c6dda08481c577987fc3c6b4fbd546839 /git-export.c
parent731ab9ccf23b813d1218bd638043bd11af98012f (diff)
downloadgit-0cc087e3044a7ce19d276f736d983ad8344162f6.tar.gz
[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 <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'git-export.c')
-rw-r--r--git-export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-export.c b/git-export.c
index 9c867a285b..77f5198b7f 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");