Move some functions to gitrepo package (#35503)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2025-09-26 10:14:20 -07:00
1 parent 7bf2972379
commit 1f32170060
22 files changed
+190 -198

No files matched your search

+1 -1
View File
@@ -1620,7 +1620,7 @@ func GetPullRequestFiles(ctx *context.APIContext) {
return
}
diffShortStat, err := gitdiff.GetDiffShortStat(baseGitRepo, startCommitID, endCommitID)
diffShortStat, err := gitdiff.GetDiffShortStat(ctx, ctx.Repo.Repository, baseGitRepo, startCommitID, endCommitID)
if err != nil {
ctx.APIErrorInternal(err)
return