1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-03 00:45:22 +02: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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")