has_commit is an integer.

This commit is contained in:
Anthony Gelibert 2014-01-20 21:02:57 +01:00 committed by Olivier Mengué
parent b5830cdf28
commit f6a9bdeee9

View File

@ -721,7 +721,7 @@ _lp_git_branch_color()
local remote
remote="$(\git config --get branch.${branch}.remote 2>/dev/null)"
local has_commit
local -i has_commit
has_commit=0
if [[ -n "$remote" ]] ; then
local remote_branch