diff options
Diffstat (limited to '')
-rwxr-xr-x | emacs.d/lisp/magit/bin/authors.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/lisp/magit/bin/authors.pl b/emacs.d/lisp/magit/bin/authors.pl new file mode 100755 index 0000000..3e3559c --- /dev/null +++ b/emacs.d/lisp/magit/bin/authors.pl @@ -0,0 +1,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 |