summaryrefslogtreecommitdiff
path: root/pkg/tools/get_authors.sh
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-27 22:32:38 -0400
committerKali Kaneko <kali@leap.se>2015-07-27 22:32:38 -0400
commitf28824c8f795bdf91cd837aef8516963b53246c6 (patch)
treeec5ee9753df3fbce394df79985387823225dbd82 /pkg/tools/get_authors.sh
parentc5cb769c75c5dc9b3b22b3b3a8102c3244b4edad (diff)
[pkg] add AUTHORS file + one-liner to generate it
Diffstat (limited to 'pkg/tools/get_authors.sh')
-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-