summaryrefslogtreecommitdiff
path: root/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
commit35cd9bd76676dea872dc02f4a854e4bcbac30648 (patch)
treeef953c3923811b1385ed5c434f727d75aab132d5 /pkg/tools
parent23a1077401b987a64c22efe6a0b9751c8549e865 (diff)
[pkg] add AUTHORS file + one-liner to generate it
Diffstat (limited to 'pkg/tools')
-rwxr-xr-xpkg/tools/get_authors.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/tools/get_authors.sh b/pkg/tools/get_authors.sh
new file mode 100755
index 0000000..0169bb1
--- /dev/null
+++ b/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-