diff options
author | Clint Adams <clint@users.sourceforge.net> | 2009-04-04 14:53:01 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2009-04-04 14:53:01 +0000 |
commit | 5f26203583ba19dc71a29b97a6fd35ad4da37375 (patch) | |
tree | aff791c72f1c504061ce545688b3dc0c12a809c7 | |
parent | 1e7c14ee356892a5f3576322b44f2724c9b73f5f (diff) | |
download | zsh-5f26203583ba19dc71a29b97a6fd35ad4da37375.tar.gz zsh-5f26203583ba19dc71a29b97a6fd35ad4da37375.tar.xz zsh-5f26203583ba19dc71a29b97a6fd35ad4da37375.zip |
Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" completion.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Completion/Unix/Command/_git | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index c046503aa..b446340a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-04 Clint Adams <clint@zsh.org> + + * Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" + completion. + 2009-04-01 Peter Stephenson <pws@csr.com> * 26801: Completion/Base/Core/_main_complete, @@ -11508,5 +11513,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4641 $ +* $Revision: 1.4642 $ ***************************************************** diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 8c414b83f..d10492aa2 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1331,9 +1331,9 @@ _git-add () { '(-v --verbose)'{-v,--verbose}'[show files as they are added]' \ '(-f --force)'{-f,--force}'[allow adding otherwise ignored files]' \ '(-i --interactive : -)'{-i,--interactive}'[add contents interactively to the index]' \ - '(-p --patch : -)'{-p,--patch}'[like -i but go directly into patch mode for specified files]' \ - '(-u --update)'{-u,--update}'[update only files git already knows about]' \ - '(-A --all)'{-A,--all}'[act as both add . and add -u]' \ + '(-p --patch)'{-p,--patch}'[like -i but go directly into patch mode for specified files]' \ + '(-u --update -A --all)'{-u,--update}'[update only files git already knows about]' \ + '(-A --all -u --update)'{-A,--all}'[act as both add . and add -u]' \ '(-N --intent-to-add)'{-N,--intent-to-add}'[record only that the path will be added later]' \ '--refresh[do not add files, but refresh their stat() info in the index]' \ '--ignore-errors[continue adding if an error occurs]' \ |