More friendly for human reading I believe, and possibly friendlier to some parsers (although only by an epsilon). Signed-off-by: Petr Baudis <pasky@xxxxxxx> --- combine-diff.c | 1 + diff.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/combine-diff.c b/combine-diff.c index 748dc30..0e25788 100644 --- a/combine-diff.c +++ b/combine-diff.c @@ -867,6 +867,7 @@ const char *diff_tree_combined_merge(con header = NULL; } opt->output_format = DIFF_FORMAT_PATCH; + putchar(opt->line_termination); } for (p = paths; p; p = p->next) { if (show_combined_diff(p, num_parent, dense, diff --git a/diff.c b/diff.c index 00c79aa..86e4251 100644 --- a/diff.c +++ b/diff.c @@ -1322,6 +1322,7 @@ void diff_flush(struct diff_options *opt struct diff_filepair *p = q->queue[i]; flush_one_pair(p, DIFF_FORMAT_RAW, options); } + putchar(options->line_termination); } for (i = 0; i < q->nr; i++) { struct diff_filepair *p = q->queue[i]; - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html