diff options
author | Kali Kaneko <kali@leap.se> | 2015-07-27 22:21:19 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-07-27 22:24:16 -0400 |
commit | 0a5f33e0f1391268faf9fac48072d35a6e172b21 (patch) | |
tree | acaa5ae03c7510ca45af05caa3596aee6852b948 /common/pkg/tools/get_authors.sh | |
parent | fa42397e13c5d7a70ceb961153d39e10a0d4c8f9 (diff) |
[pkg] add AUTHORS file + one-liner to generate it
Diffstat (limited to 'common/pkg/tools/get_authors.sh')
-rwxr-xr-x | common/pkg/tools/get_authors.sh | 2 |
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- |