author | knittl <knittl89@googlemail.com> | |
Wed, 1 Dec 2010 13:17:00 +0000 (14:17 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Dec 2010 19:51:59 +0000 (11:51 -0800) | ||
commit | bd40d252ec1ed2716ac9e6bbeab48b3b40bd0d58 | |
tree | da03168fe724147e260a91600d65b082dea4f2af | tree | snapshot |
parent | dc91e1b2cbb74797ad60a39d571553f9cd3419f6 | commit | diff |
bash: Match lightweight tags in prompt
The bash prompt would display a commit's object name when having checked
out a lightweight tag. Provide `--tags` to `git describe` in the completion
script, so it will display lightweight tag names, as it already does for
annotated tags.
Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The bash prompt would display a commit's object name when having checked
out a lightweight tag. Provide `--tags` to `git describe` in the completion
script, so it will display lightweight tag names, as it already does for
annotated tags.
Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | diff | blob | history |