1
0
Fork 0
irker/debian/patches/0005-author-name.patch
Daniel Baumann 3ab1d7a5b6
Adding debian version 2.23+dfsg-1.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 08:03:53 +02:00

21 lines
863 B
Diff

From: Daniel Baumann <mail@daniel-baumann.ch>
Date: Sun, 13 May 2018 15:07:57 +0200
Subject: Use author_name instead of author in Git notifications.
---
irkerhook.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/irkerhook.py b/irkerhook.py
index cf787ed..1d3226c 100755
--- a/irkerhook.py
+++ b/irkerhook.py
@@ -341,7 +341,7 @@ class GitExtractor(GenericExtractor):
# Might be be nice to ship the full email address, if not
# for spammers' address harvesters - getting this wrong
# would make the freenode #commits channel into harvester heaven.
- commit.author = commit.mail.split("@")[0]
+ commit.author = commit.author_name
commit.author_date, commit.commit_date = \
do("git log -1 '--pretty=format:%ai|%ci' " + shellquote(commit.commit)).split("|")
return commit