mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git-guilt: avoid exceeding 80 columns.
This commit is contained in:
parent
39df4dfa64
commit
eecfb9af47
|
|
@ -79,12 +79,7 @@ do
|
|||
|
||||
if [[ $num -gt 0 ]]
|
||||
then
|
||||
if [[ ${#people} -ge 29 ]]
|
||||
then
|
||||
printf "%-29s \033[00;32m" "$people"
|
||||
else
|
||||
printf "%-29s\t\033[00;32m" "$people"
|
||||
fi
|
||||
printf "%-29s \033[00;32m" "$people"
|
||||
if [[ $num -ge 50 ]]
|
||||
then
|
||||
len=${#num}
|
||||
|
|
@ -100,12 +95,7 @@ do
|
|||
done
|
||||
fi
|
||||
else
|
||||
if [[ ${#people} -ge 29 ]]
|
||||
then
|
||||
printf "%-29s \033[00;31m" "$people"
|
||||
else
|
||||
printf "%-29s\t\033[00;31m" "$people"
|
||||
fi
|
||||
printf "%-29s \033[00;31m" "$people"
|
||||
if [[ $num -le -50 ]]
|
||||
then
|
||||
len=${#num}
|
||||
|
|
|
|||
Loading…
Reference in a new issue