mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Avoid spawning subshell
This commit is contained in:
parent
39238ded46
commit
935c5a37b3
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue