Git development
 help / color / mirror / Atom feed
* [PATCH] diff-tree does not need -r in git-export.c
@ 2005-04-28 19:13 Junio C Hamano
  0 siblings, 0 replies; only message in thread
From: Junio C Hamano @ 2005-04-28 19:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: git

No need to pass -r anymore, since diff-tree -p implies recursive
behaviour these days.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---

git-export.c |    2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

# - [PATCH] diff-cache.c compilation warning fix.
# + 04/28 11:20 No need to say diff-tree -p -r in git-export
Index: git-export.c
--- k/git-export.c  (mode:100644)
+++ l/git-export.c  (mode:100644)
@@ -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");


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-28 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-28 19:13 [PATCH] diff-tree does not need -r in git-export.c Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox