summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-08-31 23:17:28 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-08-31 23:17:28 +0200
commit410c30a25b070fa7ef137ff35166323c322bcd53 (patch)
treed223e1407b881e9cf529d5c7678696e94e5fa612 /Completion/Unix/Command/_git
parent36ac12d0b6d29b6aacce1a2034811647e8f6dbae (diff)
downloadzsh-410c30a25b070fa7ef137ff35166323c322bcd53.tar.gz
zsh-410c30a25b070fa7ef137ff35166323c322bcd53.zip
unposted: git describe's --long and --abbrev options are not mutually exclusive
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 1e19a03a4..2cae4c82f 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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]' \