summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-26 20:14:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-10-26 20:14:51 (GMT)
commitd347fb6596f687521543f688667f53a772724d11 (patch)
treea3569fd098849812533d82657aee0681cd4e274c /builtin
parent78498729e4523d5ee32508262cc70d7a41097bc8 (diff)
parent98985c6911ca0d475ae7b4e5401e6eae58ed8489 (diff)
downloadgit-d347fb6596f687521543f688667f53a772724d11.zip
git-d347fb6596f687521543f688667f53a772724d11.tar.gz
git-d347fb6596f687521543f688667f53a772724d11.tar.bz2
Merge branch 'jk/diff-submodule-diff-inline'
A recently graduated topic regressed "git rev-list --header" output, breaking "gitweb". This has been fixed. * jk/diff-submodule-diff-inline: rev-list: use hdr_termination instead of a always using a newline
Diffstat (limited to 'builtin')
-rw-r--r--builtin/rev-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/rev-list.c b/builtin/rev-list.c
index 8479f6e..c43decd 100644
--- a/builtin/rev-list.c
+++ b/builtin/rev-list.c
@@ -145,7 +145,7 @@ static void show_commit(struct commit *commit, void *data)
*/
if (buf.len && buf.buf[buf.len - 1] == '\n')
graph_show_padding(revs->graph);
- putchar('\n');
+ putchar(info->hdr_termination);
} else {
/*
* If the message buffer is empty, just show