diff options
Diffstat (limited to 'services/migrations/dump.go')
-rw-r--r-- | services/migrations/dump.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/migrations/dump.go b/services/migrations/dump.go index 1e4b3326b6..9a093ef298 100644 --- a/services/migrations/dump.go +++ b/services/migrations/dump.go @@ -476,7 +476,7 @@ func (g *RepositoryDumper) CreatePullRequests(prs ...*base.PullRequest) error { } if ok { - _, err = git.NewCommandContext(g.ctx, "fetch", remote, pr.Head.Ref).RunInDir(g.gitPath()) + _, err = git.NewCommand(g.ctx, "fetch", remote, pr.Head.Ref).RunInDir(g.gitPath()) if err != nil { log.Error("Fetch branch from %s failed: %v", pr.Head.CloneURL, err) } else { |