Skip to content

Commit

Permalink
Merge branch 'fc/untracked-zsh-prompt' into maint
Browse files Browse the repository at this point in the history
* fc/untracked-zsh-prompt:
  prompt: fix untracked files for zsh
  • Loading branch information
Junio C Hamano committed Apr 26, 2013
2 parents bd8e338 + 24b6132 commit 1a475c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/git-prompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a475c4

Please sign in to comment.