Skip to content

Commit a074aa9

Browse files
szedergitster
authored andcommitted
completion: remove credential helpers from porcelain commands
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 282616c commit a074aa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/completion/git-completion.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,8 +665,8 @@ __git_list_porcelain_commands ()
665665
checkout-index) : plumbing;;
666666
commit-tree) : plumbing;;
667667
count-objects) : infrequent;;
668-
credential-cache) : credentials helper;;
669-
credential-store) : credentials helper;;
668+
credential) : credentials;;
669+
credential-*) : credentials helper;;
670670
cvsexportcommit) : export;;
671671
cvsimport) : import;;
672672
cvsserver) : daemon;;

0 commit comments

Comments
 (0)