aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder@ira.uka.de>2010-01-22 11:54:51 +0100
committerJunio C Hamano <gitster@pobox.com>2010-01-28 12:36:12 -0800
commit63d04a78043c61c52ae437fa6106e7029b466bbf (patch)
treedb61f0dd82b535c5a7c74ff63756f2fa10ac38e3
parentb30ccd757354ea09b41e4359b0a5ab429d12f02e (diff)
downloadgit-63d04a78043c61c52ae437fa6106e7029b466bbf.tar.gz
git-63d04a78043c61c52ae437fa6106e7029b466bbf.tar.xz
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>
-rwxr-xr-xcontrib/completion/git-completion.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 1a9943c01..1a762e88e 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -571,6 +571,7 @@ __git_list_porcelain_commands ()
read-tree) : plumbing;;
receive-pack) : plumbing;;
reflog) : plumbing;;
+ remote-*) : transport;;
repo-config) : deprecated;;
rerere) : plumbing;;
rev-list) : plumbing;;