mirror of
https://github.com/arzzen/git-quick-stats.git
synced 2026-09-10 07:36:19 -04:00
Fix ambiguous argument when author is not specified
This commit is contained in:
parent
cdfa6bf467
commit
36967bc6f4
|
|
@ -204,7 +204,7 @@ function commitsByHour() {
|
|||
for i in `seq -w 0 23`
|
||||
do
|
||||
echo -ne "\t$i\t"
|
||||
echo $(git shortlog -n --no-merges --format='%ad %s' "$_author" $_since $_until | grep " $i:" | wc -l)
|
||||
echo "$(git shortlog -n --no-merges --format='%ad %s' $_author $_since $_until | grep ' '$i: | wc -l)"
|
||||
done | awk '{
|
||||
count[$1] = $2
|
||||
total += $2
|
||||
|
|
|
|||
Loading…
Reference in a new issue