bash prompt: test untracked files status indicator with untracked dirs
commit6bfab998b5046e8f4f7b0ae4833ba4babf92de83
authorSZEDER Gábor <szeder@ira.uka.de>
Sun, 19 Jul 2015 11:28:05 +0000 (19 13:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Jul 2015 20:08:53 +0000 (20 13:08 -0700)
treef08c8fedd27c68bdb5249f87053cbb2ad8be7ae2
parentbb3e7b1a5505bae590b0d85a3995a61d6dd82547
bash prompt: test untracked files status indicator with untracked dirs

The next commit will tweak the way __git_ps1() decides whether to display
the untracked files status indicator in the presence of untracked
directories.  Add tests to make sure it doesn't change current behavior,
in particular that an empty untracked directory doesn't trigger the
untracked files status indicator.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9903-bash-prompt.sh