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>

Ralf Thielow committed Dec 4, 2014 at 19:07 UTC 85ed2f32064b82e541fc7dcf2b0049a0556e4960
1 file changed +10
contrib/completion/git-completion.bash
+10
@@ -2549,6 +2549,16 @@ _git_tag ()
2549 __gitcomp_nl "$(__git_refs)"
2550 ;;
2551 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
2562 }
2563
2564 _git_whatchanged ()