From fc6dbcffb37073cc4d26a5e6baf9778ada054707 Mon Sep 17 00:00:00 2001 From: Yehor Lvivski Date: Wed, 6 Nov 2013 16:04:24 +0200 Subject: [PATCH] fix typo --- prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompt.sh b/prompt.sh index e6348af..ea1be95 100644 --- a/prompt.sh +++ b/prompt.sh @@ -103,7 +103,7 @@ function build_prompt { commits_behind=$(git log --pretty=oneline --topo-order --left-right ${current_commit_hash}...${upstream} | grep -c "^>" ) if [ ${commits_ahead} -gt 0 -a ${commits_behind} -gt 0 ]; then - as_diverged=true + has_diverged=true fi if [ ${commits_ahead} -eq 0 -a ${commits_behind} -gt 0 ]; then can_fast_forward=true