From 7de280f12ffcf848c7c3aeafc548ef153cf0707d Mon Sep 17 00:00:00 2001 From: Nicolai Skogheim Date: Sat, 8 Aug 2015 02:44:55 +0200 Subject: [PATCH] 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. --- bin/git-effort | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-effort b/bin/git-effort index e4819b0..f2d410f 100755 --- a/bin/git-effort +++ b/bin/git-effort @@ -35,7 +35,7 @@ show_cursor_and_cleanup() { # active_days() { - uniq <<<$(echo "$1") | wc -l + echo "$1" | uniq | wc -l } #