summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorLibravatar Daniel Trstenjak <daniel.trstenjak@online.de>2009-06-02 20:03:22 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-06-03 22:38:17 -0700
commit2414b45ce0c56f7744e00e7fef3682a77375701e (patch)
tree9a8ea681ba3b35434e36edd5caec9288c4d0e2de /grep.c
parentMerge branch 'da/pretty-tempname' (diff)
downloadtgif-2414b45ce0c56f7744e00e7fef3682a77375701e.tar.xz
Show presence of stashed changes in bash prompt.
Add a '$' in the __git_ps1 output to show stashed changes are present, when GIT_PS1_SHOWSTASHSTATE is set to a nonempty value. The code for checking if the stash has entries is taken from 'git-stash.sh'. Signed-off-by: Daniel Trstenjak <daniel.trstenjak@online.de> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.c')
0 files changed, 0 insertions, 0 deletions