Rename misnamed local variable.

This commit is contained in:
Anthony Gelibert 2014-01-20 20:44:43 +01:00 committed by Olivier Mengué
parent c9bdefe020
commit 10121e3d13

View File

@ -895,7 +895,7 @@ _lp_svn_branch_color()
local branch
branch="$(_lp_svn_branch)"
if [[ -n "$branch" ]] ; then
local commits
local changes
changes=$(( $(svn status $LP_SVN_STATUS_OPTIONS | grep -c -v "?") ))
if [[ $changes -eq 0 ]] ; then
echo "${LP_COLOR_UP}${branch}${NO_COL}"