Show the presence of untracked files in the bash prompt.
commit397f7c6371d309aa399bf32b773397f3c068d0c9
authorDaniel Trstenjak <trsten@science-computing.de>
Wed, 22 Jul 2009 08:31:34 +0000 (22 10:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Jul 2009 16:27:18 +0000 (24 09:27 -0700)
treea76260ad3d0c3742145a24e804746bf639528acc
parentf87dd2152a6941dfa7f3ddaf599bc30f58562a98
Show the presence of untracked files in the bash prompt.

Added the envvar GIT_PS1_SHOWUNTRACKEDFILES to 'git-completion.bash'.
When set to a nonempty value, then the char '%' will be shown next
to the branch name in the bash prompt.

Signed-off-by: Daniel Trstenjak <daniel.trstenjak@science-computing.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash