mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-10 18:53:58 +09:00
Make git.OpenRepository accept Context (#19260)
* OpenRepositoryCtx -> OpenRepository * OpenRepository -> openRepositoryWithDefaultContext, only for internal usage
This commit is contained in:
@ -182,7 +182,7 @@ func (g *RepositoryDumper) CreateRepo(repo *base.Repository, opts base.MigrateOp
|
||||
}
|
||||
}
|
||||
|
||||
g.gitRepo, err = git.OpenRepositoryCtx(g.ctx, g.gitPath())
|
||||
g.gitRepo, err = git.OpenRepository(g.ctx, g.gitPath())
|
||||
return err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user