mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
effort: fix active days always 1
Introduced in cdb773c06 (Fix error on FreeBSD with process substitution)
when trying to squash a bug.
This fix should be valid for that bug as well.
This commit is contained in:
parent
2113e8c1d7
commit
7de280f12f
|
|
@ -35,7 +35,7 @@ show_cursor_and_cleanup() {
|
|||
#
|
||||
|
||||
active_days() {
|
||||
uniq <<<$(echo "$1") | wc -l
|
||||
echo "$1" | uniq | wc -l
|
||||
}
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue