@matheusbsbs / matheus-bagliano / commits / 63d04a7804
Fork 0

bash: don't offer remote transport helpers as subcommands

Since commits a2d725b7 (Use an external program to implement fetching with curl, 2009-08-05) and c9e388bb (Make the "traditionally-supported" URLs a special case, 2009-09-03) remote transport helpers like 'remote-ftp' and 'remote-curl' are offered by the completion script as available subcommands. Not good, since they are helpers, therefore should not be offered, so filter them out. Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Jan 22, 2010 at 11:54 UTC 63d04a78043c61c52ae437fa6106e7029b466bbf
1 file changed +1
contrib/completion/git-completion.bash
+1
@@ -571,6 +571,7 @@ __git_list_porcelain_commands ()
571 read-tree) : plumbing;;
572 receive-pack) : plumbing;;
573 reflog) : plumbing;;
574 + remote-*) : transport;;
575 repo-config) : deprecated;;
576 rerere) : plumbing;;
577 rev-list) : plumbing;;