[PATCH] NUL terminate diff-tree header lines under -z.
[git.git] / diff-helper.c
index 2385575..c977a1b 100644 (file)
@@ -121,7 +121,7 @@ int main(int ac, const char **av) {
                if (status) {
                unrecognized:
                        diff_flush(diff_output_style);
-                       printf("%s%c", sb1.buf, line_termination);
+                       printf("%s\n", sb1.buf);
                }
        }
        if (detect_rename)