mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-10 11:05:19 +01:00
Fix build
This commit is contained in:
parent
7a753ec1e3
commit
d1e8eac41e
@ -10,7 +10,7 @@ import (
|
||||
"context"
|
||||
"path/filepath"
|
||||
|
||||
"code.gitea.io/gitea/modules/cache"
|
||||
giteacache "code.gitea.io/gitea/modules/cache"
|
||||
gitealog "code.gitea.io/gitea/modules/log"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
"code.gitea.io/gitea/modules/util"
|
||||
@ -91,7 +91,7 @@ func OpenRepository(ctx context.Context, repoPath string) (*Repository, error) {
|
||||
Ctx: ctx,
|
||||
objectFormat: ParseGogitHash(plumbing.ZeroHash).Type(),
|
||||
}
|
||||
repo.lastCommitCache = newLastCommitCache(repo.Path, repo, cache.GetCache())
|
||||
repo.lastCommitCache = newLastCommitCache(repo.Path, repo, giteacache.GetCache())
|
||||
|
||||
return repo, nil
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user