Added name filter

This commit is contained in:
2019-01-02 02:18:41 +01:00
parent 99b2629e41
commit 9c6bbf0194

View File

@@ -3,6 +3,9 @@
# Specify a directory with all Git repositories
REPODIR=~/Git
# Regex or fixed name (brackets need to be escaped with a backslash)
REPOUSER="\(structix\|Janek\)"
# Specify the start date, where the statistics should be gathered
STARTDATE='01 Jan 2018'
@@ -21,7 +24,7 @@ do
cd ${dir##*/}
# show amount of commits of all users
git shortlog -sne --all --since="01 Jan 2018"
git shortlog -sne --all --author=$REPOUSER --since="01 Jan 2018"
# go back