summaryrefslogtreecommitdiff
path: root/mail/pkg/tools
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-27 22:12:01 -0400
committerKali Kaneko <kali@leap.se>2015-07-27 22:12:01 -0400
commit0d445589fcc2567bc9b995e5a27689506361fe43 (patch)
tree0f6b11c1b6c103f67826f561e07a4b53f4a23a9c /mail/pkg/tools
parent46de0ce8859d9fb5265b90e38bbc05138a254cc3 (diff)
[pkg] add AUTHORS file + one-liner to generate it
Diffstat (limited to 'mail/pkg/tools')
-rwxr-xr-xmail/pkg/tools/get_authors.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/pkg/tools/get_authors.sh b/mail/pkg/tools/get_authors.sh
new file mode 100755
index 00000000..0169bb17
--- /dev/null
+++ b/mail/pkg/tools/get_authors.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+git log --format='%aN <%aE>' | awk '{arr[$0]++} END{for (i in arr){print arr[i], i;}}' | sort -rn | cut -d' ' -f2-