]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rt/completion-tag'
authorJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:27:24 +0000 (12:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Dec 2014 20:27:24 +0000 (12:27 -0800)
* rt/completion-tag:
  completion: add git-tag options

contrib/completion/git-completion.bash

index b154f7066bbcb51e789c269600019d296cba04f4..23988ec124a85d766006c6cd569c8341d3612c8b 100644 (file)
@@ -2552,6 +2552,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 ()