Added name filter
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
# Specify a directory with all Git repositories
|
# Specify a directory with all Git repositories
|
||||||
REPODIR=~/Git
|
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
|
# Specify the start date, where the statistics should be gathered
|
||||||
STARTDATE='01 Jan 2018'
|
STARTDATE='01 Jan 2018'
|
||||||
|
|
||||||
@@ -21,7 +24,7 @@ do
|
|||||||
cd ${dir##*/}
|
cd ${dir##*/}
|
||||||
|
|
||||||
# show amount of commits of all users
|
# 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
|
# go back
|
||||||
|
Reference in New Issue
Block a user