summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/magit/bin/authors.pl
blob: 3e3559c373b9c3d5a9eecc46611b932dfdec36a8 (plain) (blame)
1
2
3
4
5
6
#!/usr/bin/env perl

# :-)

/(\d{4}).*?_(.+)/&&\$a{$2}->{$1}for`git log --pretty=format:%aD_%an`;
print"Copyright (C) ".join(", ",sort keys %{$a{$_}})." $_.\n"for sort keys %a