From 854de5a5341be4183c401157b9e5593d9a925f4f Mon Sep 17 00:00:00 2001
From: Junio C Hamano <junkio@cox.net>
Date: Thu, 12 Oct 2006 02:57:39 -0700
Subject: [PATCH] apply --numstat -z: line termination fix.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 builtin-apply.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin-apply.c b/builtin-apply.c
index de5f855266..e3ef04477c 100644
--- a/builtin-apply.c
+++ b/builtin-apply.c
@@ -2112,7 +2112,7 @@ static void numstat_patch_list(struct patch *patch)
 			quote_c_style(name, NULL, stdout, 0);
 		else
 			fputs(name, stdout);
-		putchar('\n');
+		putchar(line_termination);
 	}
 }
 
-- 
GitLab