1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

unposted: git describe's --long and --abbrev options are not mutually exclusive

This commit is contained in:
Oliver Kiddle 2018-08-31 23:17:28 +02:00
parent 36ac12d0b6
commit 410c30a25b
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2018-08-31 Oliver Kiddle <okiddle@yahoo.co.uk>
* unposted: Completion/Unix/Command/_git: git describe's
--long and --abbrev options are not mutually exclusive
* 43359: Completion/Unix/Command/_git:
further review of git remote set-url completion

View file

@ -738,11 +738,11 @@ _git-describe () {
'--all[use any ref found in "$GIT_DIR/refs/"]' \
'--tags[use any ref found in "$GIT_DIR/refs/tags"]' \
'(--tags)--contains[find the tag after the commit instead of before]' \
'(--long)--abbrev=[set minimum SHA1 display-length]: :__git_guard_number length' \
'--abbrev=[set minimum SHA1 display-length]: :__git_guard_number length' \
'( --exact-match)--candidates=[consider up to given number of candidates]: :__git_guard_number "number of candidates"' \
'(--candidates )--exact-match[only output exact matches, same as --candidates=0]' \
'--debug[display information about the searching strategy]' \
'(--abbrev)--long[always show full format, even for exact matches]' \
'--long[always show full format, even for exact matches]' \
'*--match=[only consider tags matching glob pattern]:pattern' \
"*--exclude=[don't consider tags matching glob pattern]:pattern" \
'--always[show uniquely abbreviated commit object as fallback]' \