[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/update-script._irkerhook.py_: actually split the subject line

git-admin at x2go.org git-admin at x2go.org
Tue Mar 31 09:42:52 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit 18c6784ca26020a8ab5906b71f019813f52f01db
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Mar 31 09:41:46 2015 +0200

    git/hooks/update-script._irkerhook.py_: actually split the subject line
    
    and message body by a newline in git log's pretty format string. Oops.
---
 git/hooks/update-script._irkerhook.py_ |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git/hooks/update-script._irkerhook.py_ b/git/hooks/update-script._irkerhook.py_
index 33a8d20..774ee18 100755
--- a/git/hooks/update-script._irkerhook.py_
+++ b/git/hooks/update-script._irkerhook.py_
@@ -283,7 +283,7 @@ 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%b' " + shellquote(commit.commit)).split("\n", 2)
+            do("git log -1 '--pretty=format:%an%n%ae%n%s%n%b' " + shellquote(commit.commit)).split("\n", 2)
         # Discard empty lines
         tmp = [line for line in commit.logmsg.split("\n") if line.strip()]
 

--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list