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

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"
}
################################################################################