1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

27798: Alexey I. Froloff: Completion/Unix/Command/_git: support for the `--interactive' option of "git commit".

This commit is contained in:
Frank Terbeck 2010-04-14 22:29:25 +00:00
parent a16f04d1c7
commit d4bf6fcb84
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-04-15 Frank Terbeck <ft@bewatermyfriend.org>
* 27798: Alexey I. Froloff: Completion/Unix/Command/_git: support
for the `--interactive' option of "git commit".
2010-04-14 Peter Stephenson <pws@csr.com>
* unposted: Doc/Zsh/compsys.yo: add kindex entry for
@ -13022,5 +13027,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4956 $
* $Revision: 1.4957 $
*****************************************************

View file

@ -1699,7 +1699,8 @@ _git-clone () {
_git-commit () {
_arguments -S \
'--allow-empty[allow recording an empty commit]' \
'(-a --all)'{-a,--all}'[update all paths in the index file]' \
'(-a --all --interactive)'{-a,--all}'[update all paths in the index file]' \
'(-a --all --interactive)--interactive[interactively update paths in the index file]' \
'--author[override the author name used in the commit]:author name' \
'--cleanup=-[specify how the commit message should be cleaned up]:mode:((verbatim\:"don'\''t change the commit message at all"
whitespace\:"remove leading and trailing whitespace lines"