summaryrefslogtreecommitdiff
path: root/contrib/subtree/Makefile
diff options
context:
space:
mode:
authorLibravatar Richard Hansen <rhansen@bbn.com>2015-01-06 20:22:26 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-01-07 10:27:53 -0800
commit76b43094007824e9b487302c87d77779deb4a295 (patch)
tree8454f86383115e6bfb11360dc32e00db15ee6a8c /contrib/subtree/Makefile
parentMerge branch 'for-junio' of git://bogomips.org/git-svn (diff)
downloadtgif-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