Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: add git-tag options
author
Ralf Thielow
<ralf.thielow@gmail.com>
Thu, 4 Dec 2014 18:07:35 +0000
(19:07 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 4 Dec 2014 20:10:26 +0000
(12:10 -0800)
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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7fa1365
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 06bf262087768d98450cb589eb8f8fcc51ed2f74..46c82de62d4368e20e048dc0bfa02d50a86e8a1c 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-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 ()