about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-01-29 18:06:37 +0000
committerClint Adams <clint@users.sourceforge.net>2009-01-29 18:06:37 +0000
commit2d61198457ff2031b2333c22704dd7495198a05a (patch)
treeecfaa17aa72ec4f16feb3116af946f9015e27fbd
parentc1f0bf30a3f1f55ce822cc4f1b0ef73e24d5e02f (diff)
downloadzsh-2d61198457ff2031b2333c22704dd7495198a05a.tar.gz
zsh-2d61198457ff2031b2333c22704dd7495198a05a.tar.xz
zsh-2d61198457ff2031b2333c22704dd7495198a05a.zip
Ingmar Vanhassel: 26472: complete "git add --intent-to-add".
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_git1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 37db6266b..a6cde2c39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -30,6 +30,8 @@
 	"git svn" completion.
 	* Ingmar Vanhassel: 26471: Completion/Unix/Command/_git: update
 	"git rebase" completion.
+	* Ingmar Vanhassel: 26472: Completion/Unix/Command/_git: complete
+	"git add --intent-to-add".
 
 2009-01-29  Peter Stephenson  <pws@csr.com>
 
@@ -11061,5 +11063,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4542 $                         
+* $Revision: 1.4543 $                         
 *****************************************************
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index f8f0c3a63..fe239a23e 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1328,6 +1328,7 @@ _git-add () {
     '(-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]' \
+    '(-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]' \
     '*:file:->files' && ret=0