mirror of
https://github.com/arzzen/git-quick-stats.git
synced 2026-09-13 09:06:20 -04:00
Merge pull request #127 from pawaer/fix/issue126
Replaced grep commit by grep with regex including git sha hash
This commit is contained in:
commit
f5c2b82f02
|
|
@ -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"
|
||||
}
|
||||
|
||||
################################################################################
|
||||
|
|
|
|||
Loading…
Reference in a new issue