diff --git a/services/migrations/dump.go b/services/migrations/dump.go index b4eb3aa690c..8edd567b082 100644 --- a/services/migrations/dump.go +++ b/services/migrations/dump.go @@ -506,7 +506,6 @@ func (g *RepositoryDumper) handlePullRequest(ctx context.Context, pr *base.PullR // ... let's try something less nice remote = "head-pr-" + strconv.FormatInt(pr.Number, 10) } - // ... now add the remote err := g.gitRepo.AddRemote(remote, pr.Head.CloneURL, true) if err != nil {