From 12887db9c8e380e6b4c9709dd3e1c04af240bb22 Mon Sep 17 00:00:00 2001 From: Odin Ugedal Date: Thu, 13 Feb 2020 17:29:07 +0100 Subject: [PATCH] Fix wrong repo url being used for pushing afaik this should be finalURL (the fork) and not initURL (the upstream), otherwise a bit of the code above can be removed. --- git/remote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/remote.go b/git/remote.go index 0df077efb..f98606a2e 100644 --- a/git/remote.go +++ b/git/remote.go @@ -91,7 +91,7 @@ func AddRemote(name, initURL, finalURL string) (*Remote, error) { } } - finalURLParsed, err := url.Parse(initURL) + finalURLParsed, err := url.Parse(finalURL) if err != nil { return nil, err }