git/contrib/completion
Richard Hansen 76b4309400 git-prompt.sh: if pc mode, immediately set PS1 to a plain prompt
At the beginning of __git_ps1, right after determining that the
function is running in pc mode, set PS1 to a plain (undecorated)
prompt.  This makes it possible to simply return early without having
to set PS1 if the prompt should not be decorated.

Signed-off-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2015-01-07 10:27:53 -08:00
..
git-completion.bash Merge branch 'rt/completion-tag' 2014-12-22 12:27:24 -08:00
git-completion.tcsh remove #!interpreter line from shell libraries 2013-11-26 14:23:56 -08:00
git-completion.zsh completion: fix completing args of aliased "push", "fetch", etc. 2014-04-09 14:22:18 -07:00
git-prompt.sh git-prompt.sh: if pc mode, immediately set PS1 to a plain prompt 2015-01-07 10:27:53 -08:00