Skip to contentSkip to conversation

completion: add git-tag options

PATCH New Ralf Thielow 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 completion: add git-tag options

Add completion for git-tag options including all options that are currently shown in "git tag -h".

---
 contrib/completion/git-completion.bash | 10 ++++++++++
 1 file changed, 10 insertions(+)
contrib/completion/git-completion.bash +10 -0
index 2fece98..cb32dc1 100644
@@ -2548,6 +2548,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 ()
Signature · 1 line
2.2.0.269.ge4ffef3