Skip to content

Commit f135e72

Browse files
marcowsgitster
authored andcommitted
bash completion: add 'rename' subcommand to git-remote
Signed-off-by: Markus Heidelberg <[email protected]> Acked-by: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f873dd5 commit f135e72

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
@@ -1391,15 +1391,15 @@ _git_config ()
13911391

13921392
_git_remote ()
13931393
{
1394-
local subcommands="add rm show prune update"
1394+
local subcommands="add rename rm show prune update"
13951395
local subcommand="$(__git_find_subcommand "$subcommands")"
13961396
if [ -z "$subcommand" ]; then
13971397
__gitcomp "$subcommands"
13981398
return
13991399
fi
14001400

14011401
case "$subcommand" in
1402-
rm|show|prune)
1402+
rename|rm|show|prune)
14031403
__gitcomp "$(__git_remotes)"
14041404
;;
14051405
update)

0 commit comments

Comments
 (0)