{"thread":{"id":"11681","subject":"[PATCH] Update git-completion for new 'remote rm' option","startedAt":"2008-01-20T06:54:57Z","lastAt":"2008-01-20T06:54:57Z","messageCount":1,"participants":["Dan McGee"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"66017","messageId":"1200812097-31197-1-git-send-email-dpmcgee@gmail.com","threadId":"11681","inReplyTo":null,"subject":"[PATCH] Update git-completion for new 'remote rm' option","fromName":"Dan McGee","fromEmail":"dpmcgee@gmail.com","sentAt":"2008-01-20T06:54:57Z","receivedAt":"2008-01-20T06:54:57Z","isPatch":true,"sender":{"key":"dpmcgee@gmail.com","avatar":"https://avatars.githubusercontent.com/u/265817?v=4"},"body":"Signed-off-by: Dan McGee <dpmcgee@gmail.com>\n---\n contrib/completion/git-completion.bash |    6 +++---\n 1 files changed, 3 insertions(+), 3 deletions(-)\n\ndiff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash\nindex 9b0033d..0d33f9a 100755\n--- a/contrib/completion/git-completion.bash\n+++ b/contrib/completion/git-completion.bash\n@@ -970,18 +970,18 @@ _git_remote ()\n \twhile [ $c -lt $COMP_CWORD ]; do\n \t\ti=\"${COMP_WORDS[c]}\"\n \t\tcase \"$i\" in\n-\t\tadd|show|prune|update) command=\"$i\"; break ;;\n+\t\tadd|rm|show|prune|update) command=\"$i\"; break ;;\n \t\tesac\n \t\tc=$((++c))\n \tdone\n \n \tif [ $c -eq $COMP_CWORD -a -z \"$command\" ]; then\n-\t\t__gitcomp \"add show prune update\"\n+\t\t__gitcomp \"add rm show prune update\"\n \t\treturn\n \tfi\n \n \tcase \"$command\" in\n-\tshow|prune)\n+\trm|show|prune)\n \t\t__gitcomp \"$(__git_remotes)\"\n \t\t;;\n \tupdate)\n-- \n1.5.4.rc3\n"}]}