File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22// Use of this source code is governed by a MIT-style
33// license that can be found in the LICENSE file.
44
5- package models
5+ package gitgraph
66
77import (
88 "fmt"
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a MIT-style
33// license that can be found in the LICENSE file.
44
5- package models
5+ package gitgraph
66
77import (
88 "fmt"
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import (
1414 "code.gitea.io/gitea/modules/charset"
1515 "code.gitea.io/gitea/modules/context"
1616 "code.gitea.io/gitea/modules/git"
17+ "code.gitea.io/gitea/modules/gitgraph"
1718 "code.gitea.io/gitea/modules/log"
1819 "code.gitea.io/gitea/modules/setting"
1920 "code.gitea.io/gitea/services/gitdiff"
@@ -99,7 +100,7 @@ func Graph(ctx *context.Context) {
99100
100101 page := ctx .QueryInt ("page" )
101102
102- graph , err := models .GetCommitGraph (ctx .Repo .GitRepo , page )
103+ graph , err := gitgraph .GetCommitGraph (ctx .Repo .GitRepo , page )
103104 if err != nil {
104105 ctx .ServerError ("GetCommitGraph" , err )
105106 return
You can’t perform that action at this time.
0 commit comments