all repos — cgit @ 840858594e8b48560541792b717a71dd802d5d80

a hyperfast web frontend for git written in c

ui-patch.c: Add additional newline after each patch

For consistency with git-format-patch(1).

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Lukas Fleischer cgit@cryptocrack.de
Mon, 26 Aug 2013 20:38:33 +0200
commit

840858594e8b48560541792b717a71dd802d5d80

parent

334aed8ab42b9513af0f4458081abc033d66c535

2 files changed, 3 insertions(+), 3 deletions(-)

jump to
M tests/t0108-patch.shtests/t0108-patch.sh

@@ -20,7 +20,7 @@ grep "^Subject: commit 5" tmp

' test_expect_success 'find `cgit` signature' ' - tail -1 tmp | grep "^cgit" + tail -2 tmp | head -1 | grep "^cgit" ' test_expect_success 'find initial commit' '

@@ -32,7 +32,7 @@ cgit_query "url=foo/patch&id=$root" >tmp

' test_expect_success 'find `cgit` signature' ' - tail -1 tmp | grep "^cgit" + tail -2 tmp | head -1 | grep "^cgit" ' test_done
M ui-patch.cui-patch.c

@@ -80,6 +80,6 @@ prepare_revision_walk(&rev);

while ((commit = get_revision(&rev)) != NULL) { log_tree_commit(&rev, commit); - printf("-- \ncgit %s\n", cgit_version); + printf("-- \ncgit %s\n\n", cgit_version); } }