summaryrefslogtreecommitdiff
path: root/pkg/tools/get_authors.sh
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-27 22:36:44 -0400
committerKali Kaneko <kali@leap.se>2015-07-27 22:36:44 -0400
commitf66ad4ce4ea1958e9cae9cd74727c3a93d8c369a (patch)
tree32999c7d381465ec363b6b8259666452fdb3c267 /pkg/tools/get_authors.sh
parent7f64872e77c0a362cd689be1bc5f465a64b4eec7 (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 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-