summaryrefslogtreecommitdiff
path: root/contrib/examples
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-05-10 01:56:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-05-16 19:46:31 -0700
commitdd42c2f015102626562da05bb290f47862ea06fb (patch)
treedc13fff652478b84f2c09ea1fdb780e2424c3aa8 /contrib/examples
parentcompletion: simplify "current branch" in __git_ps1() (diff)
downloadtgif-dd42c2f015102626562da05bb290f47862ea06fb.tar.xz
completion: enhance "current branch" display
Introduce GIT_PS1_DESCRIBE option you can set to "contains", "branch", or "describe" to tweak the way how a detached HEAD is described. The default behaviour is to describe only exact match with some tag (otherwise use the first 7 hexdigits) as before. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples')
0 files changed, 0 insertions, 0 deletions