mirror of
https://github.com/tj/git-extras.git
synced 2026-09-12 00:16:27 -04:00
Added a greater color range to git-effort(1)
This commit is contained in:
parent
f07197c2cd
commit
77ff0fe0d4
|
|
@ -20,9 +20,13 @@ for file in $files; do
|
|||
fi
|
||||
|
||||
test $commits -gt 10 && color='33'
|
||||
test $commits -gt 25 && color='93'
|
||||
test $commits -gt 50 && color='31'
|
||||
test $commits -gt 100 && color='91'
|
||||
test $commits -gt 25 && color='33;1'
|
||||
test $commits -gt 50 && color='93'
|
||||
test $commits -gt 75 && color='93;1'
|
||||
test $commits -gt 100 && color='31'
|
||||
test $commits -gt 125 && color='31;1'
|
||||
test $commits -gt 150 && color='91'
|
||||
test $commits -gt 200 && color='91;1'
|
||||
|
||||
printf " \033[${color}m%-45s %d\033[0m\n" $file $commits
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue