has_commit is an integer.
This commit is contained in:
parent
b5830cdf28
commit
f6a9bdeee9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user