Add forgotten local declaration.

This commit is contained in:
Anthony Gelibert 2013-11-28 00:21:20 +01:00 committed by Olivier Mengué
parent 189a6fd71b
commit 9e5bb5c0d3

View File

@ -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