summary refs log tree commit diff
path: root/Completion/Unix/Command/_git
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2009-01-19 02:58:06 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2009-01-19 02:58:06 +0000
commit351ebc1d0984703bb86264144e02d2e640f3a09a (patch)
tree81ee825e57e07b6db98184fb27f0b5d51d598379 /Completion/Unix/Command/_git
parentfe3fb644722193c4bb11bb42cef668213910817c (diff)
downloadzsh-351ebc1d0984703bb86264144e02d2e640f3a09a.tar.gz
zsh-351ebc1d0984703bb86264144e02d2e640f3a09a.tar.xz
zsh-351ebc1d0984703bb86264144e02d2e640f3a09a.zip
26360: add --work-tree option to git completion
Diffstat (limited to 'Completion/Unix/Command/_git')
-rw-r--r--Completion/Unix/Command/_git1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index fcb6a7805..d5de4145e 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4306,6 +4306,7 @@ if [[ $service == git ]]; then
     '(-p --paginate)'{-p,--paginate}'[pipe output into $PAGER]' \
     '--no-pager[do not pipe git output into a pager]' \
     '--git-dir=-[path to repository]:directory:_directories' \
+    '--work-tree=-[path to working tree]:directory:_directories' \
     '--bare[use $PWD as repository]' \
     '*::arg:->cmd_or_options' && return
   case $state in