mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-12 11:23:24 +00:00
remove unnecessary change
This commit is contained in:
parent
a38ff9ae00
commit
2e69ad399d
@ -506,7 +506,6 @@ func (g *RepositoryDumper) handlePullRequest(ctx context.Context, pr *base.PullR
|
|||||||
// ... let's try something less nice
|
// ... let's try something less nice
|
||||||
remote = "head-pr-" + strconv.FormatInt(pr.Number, 10)
|
remote = "head-pr-" + strconv.FormatInt(pr.Number, 10)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ... now add the remote
|
// ... now add the remote
|
||||||
err := g.gitRepo.AddRemote(remote, pr.Head.CloneURL, true)
|
err := g.gitRepo.AddRemote(remote, pr.Head.CloneURL, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user