From 5f26203583ba19dc71a29b97a6fd35ad4da37375 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 4 Apr 2009 14:53:01 +0000 Subject: Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" completion. --- ChangeLog | 7 ++++++- 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 + + * Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" + completion. + 2009-04-01 Peter Stephenson * 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]' \ -- cgit 1.4.1