From b739a0dea3c5fa476bac7739240813144feb9ac8 Mon Sep 17 00:00:00 2001 From: Chad Rosen Date: Tue, 17 Apr 2012 14:48:52 -0700 Subject: [PATCH] remove command doesn't need the --. Should be git remote rm --- lib/git/lib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/lib.rb b/lib/git/lib.rb index 52fb2e6c..e6a52464 100644 --- a/lib/git/lib.rb +++ b/lib/git/lib.rb @@ -538,7 +538,7 @@ def remote_add(name, url, opts = {}) # this is documented as such, but seems broken for some reason # i'll try to get around it some other way later def remote_remove(name) - command('remote', ['rm', '--', name]) + command('remote', ['rm', name]) end def remotes