summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorGjergji Ramku <Gjergj@users.noreply.github.com>2020-08-20 16:53:06 +0200
committerGitHub <noreply@github.com>2020-08-20 09:53:06 -0500
commit0c9eb468e9a55f933286a45f366f41a7a4e79637 (patch)
tree590efa801dddbbaa22638a7c649178ca5714921a /routers/repo
parentd15bb17b78f8aee3285b5fadf924ac2dc569f790 (diff)
downloadgitea-0c9eb468e9a55f933286a45f366f41a7a4e79637.tar.gz
gitea-0c9eb468e9a55f933286a45f366f41a7a4e79637.zip
Fix typos (#12542)
Signed-off-by: Gjergji Ramku <gjergjiramku@gmail.com>
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/compare.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/compare.go b/routers/repo/compare.go
index fb78ebdeac..f8a18f0696 100644
--- a/routers/repo/compare.go
+++ b/routers/repo/compare.go
@@ -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")