Revert both 'fixes'

master
oGre 10 years ago
parent 134be60f6f
commit 9a6f9cbb3c
  1. 2
      gitprompt.sh

@ -482,7 +482,7 @@ function updatePrompt() {
if [[ "x$2" == "x-n" ]] ; then if [[ "x$2" == "x-n" ]] ; then
v="$2 \"\$GIT_$1\"" v="$2 \"\$GIT_$1\""
else else
v="\"\$GIT_$1\" $2" v="\$GIT_$1 $2"
fi fi
if eval "test $v" ; then if eval "test $v" ; then
if [[ $# -lt 2 || "$3" != '-' ]]; then if [[ $# -lt 2 || "$3" != '-' ]]; then

Loading…
Cancel
Save