about summary refs log tree commit diff
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
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".
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_git3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 425865c2a..d3ee4709c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
 *****************************************************
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"