[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>
This commit is contained in:
parent
731ab9ccf2
commit
0cc087e304
@ -18,7 +18,7 @@ void show_commit(struct commit *commit)
|
|||||||
char *against = sha1_to_hex(commit->parents->item->object.sha1);
|
char *against = sha1_to_hex(commit->parents->item->object.sha1);
|
||||||
printf("\n\n======== diff against %s ========\n", against);
|
printf("\n\n======== diff against %s ========\n", against);
|
||||||
fflush(NULL);
|
fflush(NULL);
|
||||||
sprintf(cmdline, "diff-tree -p -r %s %s", against, hex);
|
sprintf(cmdline, "diff-tree -p %s %s", against, hex);
|
||||||
system(cmdline);
|
system(cmdline);
|
||||||
}
|
}
|
||||||
printf("======== end ========\n\n");
|
printf("======== end ========\n\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user