X Tutup
Skip to content

Commit 12887db

Browse files
committed
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.
1 parent c27d780 commit 12887db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/remote.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func AddRemote(name, initURL, finalURL string) (*Remote, error) {
9191
}
9292
}
9393

94-
finalURLParsed, err := url.Parse(initURL)
94+
finalURLParsed, err := url.Parse(finalURL)
9595
if err != nil {
9696
return nil, err
9797
}

0 commit comments

Comments
 (0)
X Tutup