This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 66627b40f68b333060fbf2f15c0fe9796b691cfe Author: Mihai Moldovan <ionic@ionic.de> Date: Tue Mar 31 08:21:48 2015 +0200 git/hooks/update-script._irkerhook.py_: allow multiple lines per commit message. Also strip empty lines to not spam the channel unnecessary. --- git/hooks/update-script._irkerhook.py_ | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git/hooks/update-script._irkerhook.py_ b/git/hooks/update-script._irkerhook.py_ index 2f3b194..79b3d67 100755 --- a/git/hooks/update-script._irkerhook.py_ +++ b/git/hooks/update-script._irkerhook.py_ @@ -281,7 +281,9 @@ class GitExtractor(GenericExtractor): # conventionally supposed to be a summary of the commit. Under # other VCSes a different choice may be appropriate. commit.author_name, commit.mail, commit.logmsg = \ - do("git log -1 '--pretty=format:%an%n%ae%n%s' " + shellquote(commit.commit)).split("\n") + do("git log -1 '--pretty=format:%an%n%ae%n%s' " + shellquote(commit.commit)).split("\n", 3) + # Discard empty lines + commit.logmsg = "\n".join([line for line in commit.logmsg.split("\n") if line.strip()]) # This discards the part of the author's address after @. # Might be be nice to ship the full email address, if not # for spammers' address harvesters - getting this wrong -- Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git