author | Junio C Hamano <gitster@pobox.com> | |
Sun, 10 May 2009 08:56:21 +0000 (01:56 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 17 May 2009 02:46:31 +0000 (19:46 -0700) | ||
commit | dd42c2f015102626562da05bb290f47862ea06fb | |
tree | dc13fff652478b84f2c09ea1fdb780e2424c3aa8 | tree | snapshot |
parent | ff790b6a4bb7fa3bbccd5ea23cefd89da900aa2e | commit | diff |
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>
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>
contrib/completion/git-completion.bash | diff | blob | history |