@@ -, +, @@ --- irkerhook.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- a/irkerhook.py +++ a/irkerhook.py @@ -274,14 +274,9 @@ class GitExtractor(GenericExtractor): # Design choice: for git we ship only the first line, which is # conventionally supposed to be a summary of the commit. Under # other VCSes a different choice may be appropriate. - commit.author_name = do("git log -1 '--pretty=format:%an' " + shellquote(commit.commit)) + commit.author = do("git log -1 '--pretty=format:%an' " + shellquote(commit.commit)) commit.mail = do("git log -1 '--pretty=format:%ae' " + shellquote(commit.commit)) commit.logmsg = do("git log -1 '--pretty=format:%s' " + shellquote(commit.commit)) - # This discards the part of the author's address after @. - # 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_date, commit.commit_date = \ do("git log -1 '--pretty=format:%ai|%ci' " + shellquote(commit.commit)).split("|") return commit --