summaryrefslogtreecommitdiff
path: root/AUTHORS.sh
blob: ff048a6489e08e9d92cddc6cdc77b4d283a42395 (plain)
1
2
3
4
5
6
7
8
9
10
11
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