Skip to contentSkip to conversation

bash completion: add 'rename' subcommand to git-remote

PATCH Superseded Markus Heidelberg 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash completion: add 'rename' subcommand to git-remote

---
 contrib/completion/git-completion.bash |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
contrib/completion/git-completion.bash +2 -2
index 108859e..e0d96f3 100755
@@ -1367,7 +1367,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"
@@ -1375,7 +1375,7 @@ _git_remote ()
 	fi
 
 	case "$subcommand" in
-	rm|show|prune)
+	rename|rm|show|prune)
 		__gitcomp "$(__git_remotes)"
 		;;
 	update)
Signature · 1 line
1.6.1.rc3.64.ga0b5a