Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] diff-tree does not need -r in git-export.c
author
Junio C Hamano
<junkio@cox.net>
Thu, 28 Apr 2005 19:22:11 +0000
(12:22 -0700)
committer
Linus 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
731ab9c
)
diff --git
a/git-export.c
b/git-export.c
index 9c867a285b7753859bb2cdcdb2615b386847db70..77f5198b7f39b1df78e24d99bc305f192154d54f 100644
(file)
--- 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");