diff options
Diffstat (limited to 'crawl-ref/git-hooks')
-rwxr-xr-x | crawl-ref/git-hooks/crawl-ref-cia | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/crawl-ref/git-hooks/crawl-ref-cia b/crawl-ref/git-hooks/crawl-ref-cia index fd542653f4..b77bacb3b5 100755 --- a/crawl-ref/git-hooks/crawl-ref-cia +++ b/crawl-ref/git-hooks/crawl-ref-cia @@ -143,7 +143,6 @@ while (defined ($line = <COMMIT>)) { } close COMMIT; - open DIFF, "git-diff-tree -r $parent[0] $tree|" or die "git-diff-tree $parent[0] $tree: $!"; while (defined ($line = <DIFF>)) { chomp $line; @@ -158,6 +157,19 @@ close DIFF; # XXX: Too trivial this way? ($user) = $author =~ /<(.*?)@/; +# HACK to convert CIA's idea of committeers names to match the IRC handles +$user =~ s/stefanor/sorear/; +$user =~ s/evktalo/Keskitalo/; +$user =~ s/dploog/dpeg/; +$user =~ s/bookofjude/due/; +$user =~ s/zelgadis/Matthew_Cline/; +$user =~ s/dshaligram/greensnark/; +$user =~ s/rvollmert/by/; +$user =~ s/ottochar/pointless_/; +$user =~ s/ennewalker/Enne/; +$user =~ s/steven/neunon/; + + $rev = substr($commit, 0, 12); |