Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] NUL terminate diff-tree header lines under -z.
[gitweb.git]
/
diff-helper.c
diff --git
a/diff-helper.c
b/diff-helper.c
index 23855759eebc649e7dcc03b6fb3abae3064bb5ed..c977a1b8596587995f2ea24c6152ffcb5f3773a1 100644
(file)
--- a/
diff-helper.c
+++ b/
diff-helper.c
@@
-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)