summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2010-04-14 22:29:25 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2010-04-14 22:29:25 +0000
commitd4bf6fcb84644dbc941b4e774b1ad6f7a2c5c634 (patch)
tree7bd08b2253515d7f00e740cbc82ae7531d6e60e2 /Completion
parenta16f04d1c746a511a3fd8a97b01e788d8b509433 (diff)
downloadzsh-d4bf6fcb84644dbc941b4e774b1ad6f7a2c5c634.tar.gz
zsh-d4bf6fcb84644dbc941b4e774b1ad6f7a2c5c634.tar.xz
zsh-d4bf6fcb84644dbc941b4e774b1ad6f7a2c5c634.zip
27798: Alexey I. Froloff: Completion/Unix/Command/_git: support for the `--interactive' option of "git commit".
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_git3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index d7570cc6f..f30de494a 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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"