From e68b6f1525c670f474d735009fec419473df0962 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 14 Jul 2005 17:59:17 -0700 Subject: Split up "diff_format" into "format" and "line_termination". This removes the separate "formats" for name and name-with-zero- termination. It also removes the difference between HUMAN and MACHINE formats, and they both become DIFF_FORMAT_RAW, with the difference being just in the line and inter-filename termination. It also makes the code easier to understand. --- diff-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diff-helper.c') diff --git a/diff-helper.c b/diff-helper.c index 63aff6969..6649fb548 100644 --- a/diff-helper.c +++ b/diff-helper.c @@ -17,7 +17,7 @@ static void flush_them(int ac, const char **av) diffcore_std_no_resolve(av + 1, pickaxe, pickaxe_opts, orderfile, diff_filter); - diff_flush(DIFF_FORMAT_PATCH); + diff_flush(DIFF_FORMAT_PATCH, '\n'); } static const char *diff_helper_usage = -- cgit v1.2.1