summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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