Add forgotten local declaration.
This commit is contained in:
parent
189a6fd71b
commit
9e5bb5c0d3
@ -769,6 +769,7 @@ _lp_git_branch_color()
|
||||
fi
|
||||
|
||||
local shortstat
|
||||
local ret
|
||||
shortstat="$(LC_ALL=C \git diff --shortstat HEAD 2>/dev/null)"
|
||||
if [[ -n "$shortstat" ]] ; then
|
||||
local has_lines
|
||||
|
Loading…
x
Reference in New Issue
Block a user