1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00
Signed-off-by: Gjergji Ramku <gjergjiramku@gmail.com>
This commit is contained in:
Gjergji Ramku
2020-08-20 16:53:06 +02:00
committed by GitHub
parent d15bb17b78
commit 0c9eb468e9
4 changed files with 7 additions and 7 deletions

View File

@@ -598,7 +598,7 @@ func ExcerptBlob(ctx *context.Context) {
direction := ctx.Query("direction")
filePath := ctx.Query("path")
gitRepo := ctx.Repo.GitRepo
chunkSize := gitdiff.BlobExceprtChunkSize
chunkSize := gitdiff.BlobExcerptChunkSize
commit, err := gitRepo.GetCommit(commitID)
if err != nil {
ctx.Error(500, "GetCommit")