1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

removed merges from count

This commit is contained in:
Brian Coca 2015-07-18 22:48:53 -04:00
parent 4455c14b90
commit 9de086d16d

View file

@ -4,7 +4,7 @@ set -e
# Get a list of authors ordered by number of commits # Get a list of authors ordered by number of commits
# and remove the commit count column # and remove the commit count column
AUTHORS=$(git --no-pager shortlog -nse | cut -f 2- ) AUTHORS=$(git --no-pager shortlog -nse --no-merges | cut -f 2- )
if [ -z "$AUTHORS" ] ; then if [ -z "$AUTHORS" ] ; then
echo "Authors list was empty" echo "Authors list was empty"
exit 1 exit 1