summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-27 22:30:38 -0400
committerKali Kaneko <kali@leap.se>2015-07-27 22:30:38 -0400
commit4a2e200e972b040ed260a5a860f581ffa585853b (patch)
tree51411f39f88479ca17cda2fc9b8ba6c7ebf51aa8 /pkg
parentc084571cda1acabdd050588019ba3105d5cfe547 (diff)
[pkg] add AUTHORS file + one-liner to generate it
Diffstat (limited to 'pkg')
-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 00000000..0169bb17
--- /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-