mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Added dots for fill instead of blank spaces
This commit is contained in:
parent
2e53ff6091
commit
4fa2c1d144
|
|
@ -70,7 +70,14 @@ effort() {
|
|||
|
||||
# commits
|
||||
color_for $commits
|
||||
printf " \033[${color}m%-45s %-10d" $file $commits
|
||||
len=${#file}
|
||||
dot="."
|
||||
f_dot=$file
|
||||
for ((i=0; i < 45-$len ;i++)); do
|
||||
f_dot=$f_dot$dot
|
||||
done
|
||||
|
||||
printf " \033[${color}m%s %-10d" $f_dot $commits
|
||||
|
||||
# active days
|
||||
active=`active_days $file`
|
||||
|
|
|
|||
Loading…
Reference in a new issue