mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Move some functions to gitrepo package (#35503)
This commit is contained in:
		| @@ -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