mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-08 12:01:21 +02:00
26360: add --work-tree option to git completion
This commit is contained in:
parent
fe3fb64472
commit
351ebc1d09
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2008-06-05 Doug Kearns <dougkearns@gmail.com>
|
||||||
|
|
||||||
|
* 26360: Completion/Unix/Command/_git: add --work-tree option.
|
||||||
|
|
||||||
2009-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
2009-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||||
|
|
||||||
* 26315: Src/params.c: define ZSH_PATCHLEVEL to "unknown" if
|
* 26315: Src/params.c: define ZSH_PATCHLEVEL to "unknown" if
|
||||||
|
@ -10924,5 +10928,5 @@
|
||||||
|
|
||||||
*****************************************************
|
*****************************************************
|
||||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||||
* $Revision: 1.4511 $
|
* $Revision: 1.4512 $
|
||||||
*****************************************************
|
*****************************************************
|
||||||
|
|
|
@ -4306,6 +4306,7 @@ if [[ $service == git ]]; then
|
||||||
'(-p --paginate)'{-p,--paginate}'[pipe output into $PAGER]' \
|
'(-p --paginate)'{-p,--paginate}'[pipe output into $PAGER]' \
|
||||||
'--no-pager[do not pipe git output into a pager]' \
|
'--no-pager[do not pipe git output into a pager]' \
|
||||||
'--git-dir=-[path to repository]:directory:_directories' \
|
'--git-dir=-[path to repository]:directory:_directories' \
|
||||||
|
'--work-tree=-[path to working tree]:directory:_directories' \
|
||||||
'--bare[use $PWD as repository]' \
|
'--bare[use $PWD as repository]' \
|
||||||
'*::arg:->cmd_or_options' && return
|
'*::arg:->cmd_or_options' && return
|
||||||
case $state in
|
case $state in
|
||||||
|
|
Loading…
Reference in a new issue