aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v82.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v82.go')
-rw-r--r--models/migrations/v82.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v82.go b/models/migrations/v82.go
index 67bb0cb8c9..7f9f979d95 100644
--- a/models/migrations/v82.go
+++ b/models/migrations/v82.go
@@ -99,7 +99,7 @@ func fixReleaseSha1OnReleaseTable(x *xorm.Engine) error {
userCache[repo.OwnerID] = user
}
- gitRepo, err = git.OpenRepository(RepoPath(user.Name, repo.Name))
+ gitRepo, err = git.OpenRepositoryCtx(git.DefaultContext, RepoPath(user.Name, repo.Name))
if err != nil {
return err
}