git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7fa1365
)
completion: add git-tag options
author
Ralf Thielow
<redacted>
Thu, 4 Dec 2014 18:07:35 +0000
(19:07 +0100)
committer
Junio C Hamano
<redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
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 ()
git clone https://git.99rst.org/PROJECT