summaryrefslogtreecommitdiff
path: root/common/pkg/tools
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-27 22:21:19 -0400
committerKali Kaneko <kali@leap.se>2015-07-27 22:24:16 -0400
commit0a5f33e0f1391268faf9fac48072d35a6e172b21 (patch)
treeacaa5ae03c7510ca45af05caa3596aee6852b948 /common/pkg/tools
parentfa42397e13c5d7a70ceb961153d39e10a0d4c8f9 (diff)
[pkg] add AUTHORS file + one-liner to generate it
Diffstat (limited to 'common/pkg/tools')
-rwxr-xr-xcommon/pkg/tools/get_authors.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/pkg/tools/get_authors.sh b/common/pkg/tools/get_authors.sh
new file mode 100755
index 00000000..0169bb17
--- /dev/null
+++ b/common/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-