From 351ebc1d0984703bb86264144e02d2e640f3a09a Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 19 Jan 2009 02:58:06 +0000 Subject: 26360: add --work-tree option to git completion --- ChangeLog | 6 +++++- Completion/Unix/Command/_git | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9b0de8a8a..e47328635 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-06-05 Doug Kearns + + * 26360: Completion/Unix/Command/_git: add --work-tree option. + 2009-01-15 Peter Stephenson * 26315: Src/params.c: define ZSH_PATCHLEVEL to "unknown" if @@ -10924,5 +10928,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4511 $ +* $Revision: 1.4512 $ ***************************************************** 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 -- cgit 1.4.1