summaryrefslogtreecommitdiffstats
path: root/AUTHORS.sh
blob: 08b7f2222b6722d15052bb19b074c0397d323f88 (plain)
1
2
3
4
5
6
7
8
9
10
#! /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-} |
cut -b8- # strip the commit counts