summaryrefslogtreecommitdiff
path: root/AUTHORS.sh
diff options
context:
space:
mode:
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