about summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorTobias Schulte <tobias.schulte@gliderpilot.de>2019-09-18 16:27:23 +0200
committerDaniel Shahaf <d.s@daniel.shahaf.name>2019-09-18 16:29:47 +0000
commitbed4e91681ca5d5a54c2de171e1b25f98c85619e (patch)
tree5714d774ac7c321b2caeb02a4d1cea60421df150 /Completion/Unix/Command/_git
parent597acaab4fabe6bc277bdf01d118d8be88e825b5 (diff)
downloadzsh-bed4e91681ca5d5a54c2de171e1b25f98c85619e.tar.gz
zsh-bed4e91681ca5d5a54c2de171e1b25f98c85619e.tar.xz
zsh-bed4e91681ca5d5a54c2de171e1b25f98c85619e.zip
github #38: fix completion text for git update-index --chmod
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 8b5c86642..afe62915d 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4896,7 +4896,7 @@ _git-update-index () {
     '--ignore-missing[ignore missing files when refreshing the index]' \
     '*--cacheinfo[insert information directly into the cache]: :_guard "[0-7]#" "octal file mode": :_guard "[[\:xdigit\:]]#" "object id": :_files' \
     '(: -)--index-info[read index information from stdin]' \
-    '--chmod=-[set execute permissions on updated files]:permission:((-x\:executable +x\:"not executable"))' \
+    '--chmod=-[set execute permissions on updated files]:permission:((+x\:executable -x\:"not executable"))' \
     '(                   --no-assume-unchanged)--assume-unchanged[set "assume unchanged" bit for given paths]' \
     '(--assume-unchanged                      )--no-assume-unchanged[unset "assume unchanged" bit for given paths]' \
     '(-q --unmerged --ignore-missing --refresh)--really-refresh[refresh index, unconditionally checking stat information]' \