Avoid spawning subshell

This commit is contained in:
Nicolai Skogheim 2015-07-08 18:59:10 +02:00
parent 39238ded46
commit 935c5a37b3

View file

@ -61,7 +61,7 @@ color_for() {
effort() {
file=$1
local commit_dates=`date $file`
commits=`echo "$commit_dates" | wc -l`
commits=`wc -l <<<"$(echo "$commit_dates")"`
color='90'
# ignore <= --above