completion: remove credential helpers from porcelain commands
authorSZEDER Gábor <szeder@ira.uka.de>
Tue, 5 May 2015 16:33:13 +0000 (18:33 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2015 22:17:05 +0000 (15:17 -0700)
Don't offer the "main" 'git credential' command or any of the credential
helpers from contrib/credential/ when completing git commands.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
index 019026efcbc5876d7aa3890eab5078a8bfbe2f7c..af782129aed7c2e74b6057e5061874a22d768598 100644 (file)
@@ -665,8 +665,8 @@ __git_list_porcelain_commands ()
                checkout-index)   : plumbing;;
                commit-tree)      : plumbing;;
                count-objects)    : infrequent;;
-               credential-cache) : credentials helper;;
-               credential-store) : credentials helper;;
+               credential)       : credentials;;
+               credential-*)     : credentials helper;;
                cvsexportcommit)  : export;;
                cvsimport)        : import;;
                cvsserver)        : daemon;;