Merge branch 'fc/untracked-zsh-prompt'

* fc/untracked-zsh-prompt:
  prompt: fix untracked files for zsh
This commit is contained in:
Junio C Hamano 2013-04-23 11:16:58 -07:00
Родитель f87f7424df 24b6132e57
Коммит 741917f40c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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