From b6d8f309d9bbd8193d9b73eb41c6fcdaa8001298 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 23 May 2005 14:55:33 -0700 Subject: [PATCH] diff-raw format update take #2. This changes the diff-raw format again, following the mailing list discussion. The new format explicitly expresses which one is a rename and which one is a copy. The documentation and tests are updated to match this change. Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds --- diff-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'diff-tree.c') diff --git a/diff-tree.c b/diff-tree.c index 2ec0d6fa81..0d21b18ff7 100644 --- a/diff-tree.c +++ b/diff-tree.c @@ -270,7 +270,7 @@ static int call_diff_flush(void) if (pickaxe) { diffcore_pickaxe(pickaxe); if (diff_queue_is_empty()) { - diff_flush(DIFF_FORMAT_NO_OUTPUT); + diff_flush(DIFF_FORMAT_NO_OUTPUT, 0); return 0; } } @@ -291,7 +291,7 @@ static int call_diff_flush(void) } header = NULL; } - diff_flush(diff_output_format); + diff_flush(diff_output_format, 1); return 1; } -- cgit v1.2.1