mirror of
https://github.com/git/git.git
synced 2024-11-30 21:44:02 +08:00
Merge branch 'fc/untracked-zsh-prompt'
* fc/untracked-zsh-prompt: prompt: fix untracked files for zsh
This commit is contained in:
commit
741917f40c
@ -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…
Reference in New Issue
Block a user