mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 04:36:18 +02:00
Move some functions to gitrepo package (#35503)
This commit is contained in:
1 parent
7bf2972379
commit
1f32170060
22 files changed
+190
-198
No files matched your search
@@ -324,7 +324,7 @@ func Diff(ctx *context.Context) {
|
||||
ctx.NotFound(err)
|
||||
return
|
||||
}
|
||||
diffShortStat, err := gitdiff.GetDiffShortStat(gitRepo, "", commitID)
|
||||
diffShortStat, err := gitdiff.GetDiffShortStat(ctx, ctx.Repo.Repository, gitRepo, "", commitID)
|
||||
if err != nil {
|
||||
ctx.ServerError("GetDiffShortStat", err)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user