File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a MIT-style
3
3
// license that can be found in the LICENSE file.
4
4
5
- package models
5
+ package gitgraph
6
6
7
7
import (
8
8
"fmt"
Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a MIT-style
3
3
// license that can be found in the LICENSE file.
4
4
5
- package models
5
+ package gitgraph
6
6
7
7
import (
8
8
"fmt"
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import (
14
14
"code.gitea.io/gitea/modules/charset"
15
15
"code.gitea.io/gitea/modules/context"
16
16
"code.gitea.io/gitea/modules/git"
17
+ "code.gitea.io/gitea/modules/gitgraph"
17
18
"code.gitea.io/gitea/modules/log"
18
19
"code.gitea.io/gitea/modules/setting"
19
20
"code.gitea.io/gitea/services/gitdiff"
@@ -99,7 +100,7 @@ func Graph(ctx *context.Context) {
99
100
100
101
page := ctx .QueryInt ("page" )
101
102
102
- graph , err := models .GetCommitGraph (ctx .Repo .GitRepo , page )
103
+ graph , err := gitgraph .GetCommitGraph (ctx .Repo .GitRepo , page )
103
104
if err != nil {
104
105
ctx .ServerError ("GetCommitGraph" , err )
105
106
return
You can’t perform that action at this time.
0 commit comments