Code

apply --numstat -z: line termination fix.
authorJunio C Hamano <junkio@cox.net>
Thu, 12 Oct 2006 09:57:39 +0000 (02:57 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 12 Oct 2006 09:57:39 +0000 (02:57 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c

index de5f855266f6fcf3274c9648b02ab960a267bb90..e3ef04477cefb10763f81cff4f315f60c27c3369 100644 (file)
@@ -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);
        }
 }