Browse Source

Merge branch 'fc/untracked-zsh-prompt'

* fc/untracked-zsh-prompt:
  prompt: fix untracked files for zsh
maint
Junio C Hamano 12 years ago
parent
commit
741917f40c
  1. 2
      contrib/completion/git-prompt.sh

2
contrib/completion/git-prompt.sh

@ -340,7 +340,7 @@ __git_ps1 () @@ -340,7 +340,7 @@ __git_ps1 ()
[ "$(git config --bool bash.showUntrackedFiles)" != "false" ] &&
[ -n "$(git ls-files --others --exclude-standard)" ]
then
u="%"
u="%${ZSH_VERSION+%}"
fi

if [ -n "${GIT_PS1_SHOWUPSTREAM-}" ]; then

Loading…
Cancel
Save