From 90f1cd2f010ba65c6da03f35f69fb31161d8e3bf Mon Sep 17 00:00:00 2001 From: Chandrasing Date: Mon, 7 Sep 2015 13:02:37 +0530 Subject: [PATCH] [Local Branch Indicator] Change case from No upstream to no upstream This commit fixes the Local Indicator which was broken because of theme related changes. --- gitstatus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstatus.sh b/gitstatus.sh index 68d1a08..c9b72c2 100755 --- a/gitstatus.sh +++ b/gitstatus.sh @@ -78,7 +78,7 @@ else # detect if the local branch have a remote tracking branch cmd_output=$(git rev-parse --abbrev-ref ${branch}@{upstream} 2>&1 >/dev/null) - if [ `count_lines "$cmd_output" "fatal: No upstream"` == 1 ] ; then + if [ `count_lines "$cmd_output" "fatal: no upstream"` == 1 ] ; then has_remote_tracking=0 else has_remote_tracking=1