summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authordana <dana@dana.is>2026-06-29 19:50:58 -0500
committerdana <dana@dana.is>2026-06-29 19:53:47 -0500
commitd1020e63e13f85c7c0f57d43143c28cf759c20c9 (patch)
tree0294307cec258fa78c16c28fd95078d5eb800080 /Completion/Unix/Command/_git
parentunposted: _numbers: fix compadd -q spec (diff)
downloadzsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.gz
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.bz2
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.lz
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.xz
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.tar.zst
zsh-d1020e63e13f85c7c0f57d43143c28cf759c20c9.zip
54863 + others: completion: compadd -q -> -r
-q was not appropriate because a parameter name with no assignment makes no sense in this context. use -r instead also address some previous cases like this that i was responsible for
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 2b37ffa50..c4ed3c3e9 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -8500,7 +8500,7 @@ __git_format_placeholders() {
_alternative \
'formats:: _describe -t formats "built-in format" builtin_fmts' \
'user-formats:: _describe -t user-formats "user format" user_fmts' \
- 'custom-formats:: _describe -t custom-formats "custom format" custom_fmts -qS:' \
+ 'custom-formats:: _describe -t custom-formats "custom format" custom_fmts -r: -S:' \
&& return
# @todo: still unsupported: more complicated place-holders like %C() and