[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/x2go-post-receive-close-bugs: fix typo leading to git errors.
git-admin at x2go.org
git-admin at x2go.org
Mon May 15 16:46:16 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository maintenancescripts.
commit f47454158aaa99afae6ac440839a34355186ecbf
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon May 15 16:46:11 2017 +0200
git/hooks/x2go-post-receive-close-bugs: fix typo leading to git errors.
---
git/hooks/x2go-post-receive-close-bugs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git/hooks/x2go-post-receive-close-bugs b/git/hooks/x2go-post-receive-close-bugs
index d558512..3701e04 100755
--- a/git/hooks/x2go-post-receive-close-bugs
+++ b/git/hooks/x2go-post-receive-close-bugs
@@ -39,7 +39,7 @@ function send_mail () { # send_mail bugno revno diff_file
#local from="$(git show -s --pretty='format:%cn <%ce>' "$(git rev-parse --verify "${newrev}^{commit}")" |
# perl -CI -MEncode -e 'print Encode::encode("MIME-Q", <STDIN>)')"
local realname="$(git show -s --pretty='format:%cn' "$(git rev-parse --verify "${newrev}^{commit}")" |
- python3.5 -c 'from email.header import header; import fileinput;[print(header(line, "utf-8").encode()) for line in fileinput.input()]')"
+ python3.5 -c 'from email.header import Header; import fileinput;[print(Header(line, "utf-8").encode()) for line in fileinput.input()]')"
local address="$(git show -s --pretty='format:%cn <%ce>' "$(git rev-parse --verify "${newrev}^{commit}")")"
local from="${realname} ${address}"
(cat <<EOF
--
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