From f6a9bdeee9de0bfb1a52d605a858d7cd04270f14 Mon Sep 17 00:00:00 2001 From: Anthony Gelibert Date: Mon, 20 Jan 2014 21:02:57 +0100 Subject: [PATCH] has_commit is an integer. --- liquidprompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index b92ca4b..610d113 100755 --- a/liquidprompt +++ b/liquidprompt @@ -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