From: Markus Heidelberg Date: Wed, 21 Jan 2009 19:14:55 +0000 (+0100) Subject: bash completion: add 'rename' subcommand to git-remote X-Git-Tag: v1.6.2-rc0~112 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f135e72d611ff6faf3d413a85f1620227d9f0705;p=git.git bash completion: add 'rename' subcommand to git-remote Signed-off-by: Markus Heidelberg Acked-by: Shawn O. Pearce Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index a1298c4f9..703f4c2e9 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1391,7 +1391,7 @@ _git_config () _git_remote () { - local subcommands="add rm show prune update" + local subcommands="add rename rm show prune update" local subcommand="$(__git_find_subcommand "$subcommands")" if [ -z "$subcommand" ]; then __gitcomp "$subcommands" @@ -1399,7 +1399,7 @@ _git_remote () fi case "$subcommand" in - rm|show|prune) + rename|rm|show|prune) __gitcomp "$(__git_remotes)" ;; update)