Skip to content

Commit

Permalink
completion: add git-tag options
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ralf Thielow authored and Junio C Hamano committed Dec 4, 2014
1 parent 7fa1365 commit 85ed2f3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2549,6 +2549,16 @@ _git_tag ()
__gitcomp_nl "$(__git_refs)"
;;
esac

case "$cur" in
--*)
__gitcomp "
--list --delete --verify --annotate --message --file
--sign --cleanup --local-user --force --column --sort
--contains --points-at
"
;;
esac
}

_git_whatchanged ()
Expand Down

0 comments on commit 85ed2f3

Please sign in to comment.