Skip to content

Commit 85ed2f3

Browse files
ralfthgitster
authored andcommitted
completion: add git-tag options
Add completion for git-tag options including all options that are currently shown in "git tag -h". Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 7fa1365 commit 85ed2f3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

contrib/completion/git-completion.bash

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,6 +2549,16 @@ _git_tag ()
25492549
__gitcomp_nl "$(__git_refs)"
25502550
;;
25512551
esac
2552+
2553+
case "$cur" in
2554+
--*)
2555+
__gitcomp "
2556+
--list --delete --verify --annotate --message --file
2557+
--sign --cleanup --local-user --force --column --sort
2558+
--contains --points-at
2559+
"
2560+
;;
2561+
esac
25522562
}
25532563

25542564
_git_whatchanged ()

0 commit comments

Comments
 (0)