summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-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