summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2015-03-29 05:51:57 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-03-29 05:52:44 +0000
commit0b79922edbd8a22343f91bc022ce2ad3dd00c5de (patch)
tree0284ec529e37a5b5f7a81af29961dd35542e4fc4 /Completion/Unix
parent81ba83797240f38769a624a98c1e73ba2f9f9906 (diff)
downloadzsh-0b79922edbd8a22343f91bc022ce2ad3dd00c5de.tar.gz
zsh-0b79922edbd8a22343f91bc022ce2ad3dd00c5de.tar.xz
zsh-0b79922edbd8a22343f91bc022ce2ad3dd00c5de.zip
34762: completion: git: add short option for '--dir-diff' (_git-difftool)
Diffstat (limited to 'Completion/Unix')
-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 5524cb017..9dafd3c97 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -3336,7 +3336,7 @@ _git-count-objects () {
 _git-difftool () {
   # TODO: Is this fine, or do we need to modify the context or similar?
   _git-diff \
-    '--dir-diff[diff a whole tree by prepare a temporary copy]' \
+    '(-d --dir-diff)'{-d,--dir-diff}'[diff a whole tree by preparing a temporary copy]' \
     '(-y --no-prompt --prompt)'{-y,--no-prompt}'[do not prompt before invocation of diff tool]' \
     '(-y --no-prompt)--prompt[prompt before invocation of diff tool]' \
     '(-t --tool -x --extcmd)'{-t,--tool=-}'[merge resolution program to use]: :__git_difftools' \