[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/update-script._irkerhook.py_: try to get the

git-admin at x2go.org git-admin at x2go.org
Tue Mar 31 09:27:57 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 db8fa7041d052a638ba5619216819e185381a6a2
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Tue Mar 31 09:26:38 2015 +0200

    git/hooks/update-script._irkerhook.py_: try to get the
    
    colors within
    (potential)
    commit messages
    evaluated.
    
    Not sure if self.__dict__ is the right way
    to go, but it's been working
    in another place, so let's keep
    all fingers crossed.
---
 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 53e64b2..33a8d20 100755
--- a/git/hooks/update-script._irkerhook.py_
+++ b/git/hooks/update-script._irkerhook.py_
@@ -289,7 +289,7 @@ class GitExtractor(GenericExtractor):
 
         if len(tmp) > 6:
             tmp = tmp[:5]
-            tmp.append ("%(lightgrey)s... message truncated%(reset)s")
+            tmp.append ("%(lightgrey)s... message truncated%(reset)s" % self.__dict__)
 
         commit.logmsg = "\n".join(tmp)
         # This discards the part of the author's address after @.

--
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