summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-12-22 12:27:24 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-22 12:27:24 -0800
commit2cd20dc3d445bc052f81aecfcc12f1c715a25789 (patch)
tree8ac9c39c32988f995aeb8a81e5677102bdc5ac18 /contrib
parentMerge branch 'mg/doc-check-ignore-tracked-are-not-ignored' (diff)
parentcompletion: add git-tag options (diff)
downloadtgif-2cd20dc3d445bc052f81aecfcc12f1c715a25789.tar.xz
Merge branch 'rt/completion-tag'
* rt/completion-tag: completion: add git-tag options
Diffstat (limited to 'contrib')
-rw-r--r--contrib/completion/git-completion.bash10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index b154f7066b..23988ec124 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -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 ()