From 9b728e0f905b45a3ec73d332f5b0b9bb836ddcc7 Mon Sep 17 00:00:00 2001 From: Javier Rojas Date: Fri, 1 Mar 2013 17:24:15 -0500 Subject: [PATCH] reset git prompt var. Thanks camilonova --- git-bash-prompt/prompt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-bash-prompt/prompt.sh b/git-bash-prompt/prompt.sh index 7b3c8f1..e76a8d1 100644 --- a/git-bash-prompt/prompt.sh +++ b/git-bash-prompt/prompt.sh @@ -41,6 +41,7 @@ function get_git_branch { staged_changes="" unchecked_changes="" semaphore="" + GIT_PROMPT="" CURR_BRANCH=$(git rev-parse --abbrev-ref HEAD 2> /dev/null) if test $? -eq 0 ; then if [ "$CURR_BRANCH" == 'HEAD' ]; then