summaryrefslogtreecommitdiff
path: root/AUTHORS.sh
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2022-04-24 19:39:47 -0400
committerFrank Ch. Eigler <fche@redhat.com>2022-04-24 19:39:47 -0400
commit72823322be9a8f0143de21ccfb67a89696a9522f (patch)
tree9bf3e97e3bdd0fb4659535f5be52fb90a276dc21 /AUTHORS.sh
parent3cf386984c1870c2b39ec3fb47b0deb7b30535c3 (diff)
downloadelfutils-72823322be9a8f0143de21ccfb67a89696a9522f.tar.gz
AUTHORS: Use generator script & git mailmap
We can compute a pretty complete list of contributors. Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'AUTHORS.sh')
-rw-r--r--AUTHORS.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/AUTHORS.sh b/AUTHORS.sh
new file mode 100644
index 00000000..ff048a64
--- /dev/null
+++ b/AUTHORS.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+# Create the AUTHORS file, by searching the git history.
+
+# Run as "AUTHORS.sh" to get complete history
+# Run with "AUTHORS.sh commitish..commitish" for history between tags
+
+# shortlog will canonicalize the names using the file .mailmap
+git shortlog -s ${1-} |
+sed -e 's, via Elfutils-devel,,' |
+cut -b8- | # strip the commit counts
+sort | uniq