Skip to content

Commit 63d04a7

Browse files
szedergitster
authored andcommitted
bash: don't offer remote transport helpers as subcommands
Since commits a2d725b (Use an external program to implement fetching with curl, 2009-08-05) and c9e388b (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 <[email protected]> Acked-by: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b30ccd7 commit 63d04a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ __git_list_porcelain_commands ()
571571
read-tree) : plumbing;;
572572
receive-pack) : plumbing;;
573573
reflog) : plumbing;;
574+
remote-*) : transport;;
574575
repo-config) : deprecated;;
575576
rerere) : plumbing;;
576577
rev-list) : plumbing;;

0 commit comments

Comments
 (0)