Code

bash: don't offer remote transport helpers as subcommands
authorSZEDER Gábor <szeder@ira.uka.de>
Fri, 22 Jan 2010 10:54:51 +0000 (11:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jan 2010 20:36:12 +0000 (12:36 -0800)
commit63d04a78043c61c52ae437fa6106e7029b466bbf
treedb61f0dd82b535c5a7c74ff63756f2fa10ac38e3
parentb30ccd757354ea09b41e4359b0a5ab429d12f02e
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>
contrib/completion/git-completion.bash