Skip to content

Commit 8788ef7

Browse files
committed
Create the AUTHORS file by searching the git history.
1 parent c13a7c4 commit 8788ef7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bashrc/AUTHORS.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#! /bin/sh
2+
3+
# Create the AUTHORS file, by searching the git history.
4+
5+
# Run as "AUTHORS.sh" to get complete history
6+
# Run with "AUTHORS.sh commitish..commitish" for history between tags
7+
8+
# shortlog will canonicalize the names using the file .mailmap
9+
git shortlog -s ${1-} |
10+
cut -b8- # strip the commit counts

0 commit comments

Comments
 (0)