From dc5394c1893cf3c7f469bf308d8d635fba31c8cd Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 18 Apr 2017 14:22:38 +0200 Subject: [PATCH] Looks like all we need is a new line --- roles/git/hooks/files/post-receive-alternativearch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/git/hooks/files/post-receive-alternativearch b/roles/git/hooks/files/post-receive-alternativearch index 3f843cf3e8..5d29378fd2 100755 --- a/roles/git/hooks/files/post-receive-alternativearch +++ b/roles/git/hooks/files/post-receive-alternativearch @@ -167,7 +167,7 @@ def run_as_post_receive_hook(): for commit in new_commits_list: if DEBUG: print('Diff of commit:', commit) - full_change += '\nCommit: %s\n' % commit + full_change += '\n' for line in read_git_lines(['show', commit], abspath): full_change += '%s\n' % line if DEBUG: