Merge pull request #127 from pawaer/fix/issue126

Replaced grep commit by grep with regex including git sha hash
This commit is contained in:
Lukáš Mešťan 2021-04-29 08:36:34 +02:00 committed by GitHub
commit f5c2b82f02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -546,7 +546,7 @@ function myDailyStats() {
--author="$(git config user.name)" $_merges \
--since=$(date "+%Y-%m-%dT00:00:00") \
--until=$(date "+%Y-%m-%dT23:59:59") --reverse $_log_options \
| grep commit | wc -l) "commits"
| grep -E "commit [a-f0-9]{40}" | wc -l) "commits"
}
################################################################################