Added name filter
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user