bash completion: Add long options for 'git describe'
Signed-off-by: Thomas Rast <trast@student.ethz.ch> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
35faca1f99
commit
cbb504c974
|
@ -667,6 +667,15 @@ _git_commit ()
|
||||||
|
|
||||||
_git_describe ()
|
_git_describe ()
|
||||||
{
|
{
|
||||||
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
|
case "$cur" in
|
||||||
|
--*)
|
||||||
|
__gitcomp "
|
||||||
|
--all --tags --contains --abbrev= --candidates=
|
||||||
|
--exact-match --debug --long --match --always
|
||||||
|
"
|
||||||
|
return
|
||||||
|
esac
|
||||||
__gitcomp "$(__git_refs)"
|
__gitcomp "$(__git_refs)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue