diff options
author | Richard Hansen <rhansen@bbn.com> | 2015-01-06 20:22:26 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-07 10:27:53 -0800 |
commit | 76b43094007824e9b487302c87d77779deb4a295 (patch) | |
tree | 8454f86383115e6bfb11360dc32e00db15ee6a8c /contrib/subtree/Makefile | |
parent | Merge branch 'for-junio' of git://bogomips.org/git-svn (diff) | |
download | tgif-76b43094007824e9b487302c87d77779deb4a295.tar.xz |
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>
Diffstat (limited to 'contrib/subtree/Makefile')
0 files changed, 0 insertions, 0 deletions