summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko <kali@futeisha.org>2015-07-27 22:28:59 -0400
committerKali Kaneko <kali@futeisha.org>2015-07-27 22:28:59 -0400
commit469af72f5ab20c4a8aa120daaf995b68aa97a6a5 (patch)
treea94ddffb7cf3c56d79ce8ca3fb5e2473681f364d /pkg
parentb409ba866c57a17a5a702f69db0b44a48ee1e584 (diff)
[pkg] add AUTHORS file + one-liner to generate it
Diffstat (limited to 'pkg')
-rwxr-xr-xpkg/utils/get_authors.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/utils/get_authors.sh b/pkg/utils/get_authors.sh
new file mode 100755
index 0000000..0169bb1
--- /dev/null
+++ b/pkg/utils/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-