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