Skip to content

Commit b5c9f43

Browse files
committed
Fix build
1 parent e5726f8 commit b5c9f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/git/repo_base_gogit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"context"
1111
"path/filepath"
1212

13-
"code.gitea.io/gitea/modules/cache"
13+
giteacache "code.gitea.io/gitea/modules/cache"
1414
gitealog "code.gitea.io/gitea/modules/log"
1515
"code.gitea.io/gitea/modules/setting"
1616
"code.gitea.io/gitea/modules/util"
@@ -91,7 +91,7 @@ func OpenRepository(ctx context.Context, repoPath string) (*Repository, error) {
9191
Ctx: ctx,
9292
objectFormat: ParseGogitHash(plumbing.ZeroHash).Type(),
9393
}
94-
repo.lastCommitCache = newLastCommitCache(repo.Path, repo, cache.GetCache())
94+
repo.lastCommitCache = newLastCommitCache(repo.Path, repo, giteacache.GetCache())
9595

9696
return repo, nil
9797
}

0 commit comments

Comments
 (0)