1*7304104dSAndroid Build Coastguard Worker#! /bin/sh 2*7304104dSAndroid Build Coastguard Worker 3*7304104dSAndroid Build Coastguard Worker# Create the AUTHORS file, by searching the git history. 4*7304104dSAndroid Build Coastguard Worker 5*7304104dSAndroid Build Coastguard Worker# Run as "AUTHORS.sh" to get complete history 6*7304104dSAndroid Build Coastguard Worker# Run with "AUTHORS.sh commitish..commitish" for history between tags 7*7304104dSAndroid Build Coastguard Worker 8*7304104dSAndroid Build Coastguard Worker# shortlog will canonicalize the names using the file .mailmap 9*7304104dSAndroid Build Coastguard Workergit shortlog -s ${1-} | 10*7304104dSAndroid Build Coastguard Workersed -e 's, via Elfutils-devel,,' | 11*7304104dSAndroid Build Coastguard Workercut -b8- | # strip the commit counts 12*7304104dSAndroid Build Coastguard Workersort | uniq 13