Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: add --work-tree option to git completion



Index: Completion/Unix/Command/_git
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
retrieving revision 1.108
diff -u -r1.108 _git
--- Completion/Unix/Command/_git        9 Dec 2008 00:44:50 -0000       1.108
+++ Completion/Unix/Command/_git        18 Jan 2009 15:11:21 -0000
@@ -4306,6 +4306,7 @@
     '(-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



Messages sorted by: Reverse Date, Date, Thread, Author