Skip to content

Commit

Permalink
reset git prompt var. Thanks camilonova
Browse files Browse the repository at this point in the history
  • Loading branch information
javieraxiacore committed Mar 1, 2013
1 parent ae44996 commit 9b728e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-bash-prompt/prompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b728e0

Please sign in to comment.