diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pr/checkout.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go index e55fa735dc..b4cf80ed4c 100644 --- a/contrib/pr/checkout.go +++ b/contrib/pr/checkout.go @@ -198,7 +198,9 @@ func main() { } remoteUpstream := "origin" //Default for _, r := range remotes { - if r.Config().URLs[0] == "https://github.com/go-gitea/gitea" || r.Config().URLs[0] == "git@github.com:go-gitea/gitea.git" { //fetch at index 0 + if r.Config().URLs[0] == "https://github.com/go-gitea/gitea.git" || + r.Config().URLs[0] == "https://github.com/go-gitea/gitea" || + r.Config().URLs[0] == "git@github.com:go-gitea/gitea.git" { //fetch at index 0 remoteUpstream = r.Config().Name break } |