Code

bash completion: Add '--intent-to-add' long option for 'git add'
authorLee Marlow <lee.marlow@gmail.com>
Wed, 10 Dec 2008 19:39:17 +0000 (12:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 Jan 2009 01:37:58 +0000 (17:37 -0800)
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
Trivially-Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 8ec782dc54c9eb49873e38b75d925babe9a7746c..e986e783e24da202e9b5e2a55a82b0495529cbf3 100755 (executable)
@@ -563,7 +563,7 @@ _git_add ()
        --*)
                __gitcomp "
                        --interactive --refresh --patch --update --dry-run
-                       --ignore-errors
+                       --ignore-errors --intent-to-add
                        "
                return
        esac