This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 1e4bf5e2883fd24823664eec98eb9e724300840b Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Jan 2 11:08:50 2020 +0100 git/hooks/update-script._irkerhook.py_: fix capturing in branch/tag regular expression. --- 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 078d333..6299a6e 100755 --- a/git/hooks/update-script._irkerhook.py_ +++ b/git/hooks/update-script._irkerhook.py_ @@ -361,7 +361,7 @@ class GitExtractor(GenericExtractor): if self.rebase != '': commit.logmsg = (u"%(cyan)sRebase detected.%(reset)s\nOld ref: " + self.rebase + "\nNew HEAD: " + commit.commit + "\nPlease check the URL for more information.") % self.__dict__ if self.new: - ref_type = re.sub(r"^refs/([^/])*/.*", r'\1', self.refname) + ref_type = re.sub(r"^refs/([^/]*)/.*", r'\1', self.refname) ref_type_dict = { "heads": "branch", "tags": "tag" } commit.logmsg = (u"%(cyan)sNew " + ref_type_dict.get(ref_type, "unknown target") + " \"" + commit.branch +"\" created.%(reset)s New commit description(s) follow:\n") % self.__dict__ # This discards the part of the author's address after @. -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git