1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

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

This commit is contained in:
Doug Kearns 2009-01-19 02:58:06 +00:00
parent fe3fb64472
commit 351ebc1d09
2 changed files with 6 additions and 1 deletions

View file

@ -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