1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-02 08:21:09 +01:00

Ingmar Vanhassel: 26469: complete "git clone --verbose".

This commit is contained in:
Clint Adams 2009-01-29 17:40:07 +00:00
parent f958e846e4
commit 0b9e0fc3c5
2 changed files with 5 additions and 2 deletions

View file

@ -19,6 +19,8 @@
* Ingmar Vanhassel: 26468: Completion/Unix/Command/_git: "git
stage" is now a synonym for "git add". git diff: --staged is a
synonym for --cached.
* Ingmar Vanhassel: 26469: Completion/Unix/Command/_git: complete
"git clone --verbose".
2009-01-29 Peter Stephenson <pws@csr.com>
@ -11050,5 +11052,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4538 $
* $Revision: 1.4539 $
*****************************************************

View file

@ -1618,10 +1618,11 @@ _git-clone () {
_arguments -S \
'--bare[make a bare GIT repository]' \
'--mirror[clone refs into refs/* instead of refs/remotes/origin/*]' \
'(-l --local)'{-l,--local}'[perform a local cloning of a repository]' \
'(-l --local)'{-l,--local}'[clone locally, hardlink refs and objects if possible]' \
'(-s --shared)'{-s,--shared}'[share the objects with the source repository (warning: see man page)]' \
'--reference[reference repository]:repository:_directories' \
'(-q --quiet)'{-q,--quiet}'[operate quietly]' \
'(-v --verbose)'{-v,--verbose}'[always display the progressbar]' \
'(-n --no-checkout)'{-n,--no-checkout}'[do not checkout HEAD after clone is complete]' \
'(-o --origin)'{-o,--origin}'[use given name instead of "origin" as branch name]:name:__git_guard_branch-name' \
'--no-hardlinks[copy files instead of hardlinking when doing a local clone]' \