From 8c647bf0f6b19fe666c645ec16010d07bfe85a63 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 10 Jan 2022 04:32:37 -0500 Subject: Fix various typos (#18219) Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon` Co-authored-by: Lunny Xiao --- services/gitdiff/gitdiff.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/gitdiff/gitdiff.go') diff --git a/services/gitdiff/gitdiff.go b/services/gitdiff/gitdiff.go index 292c270b7e..fb3e32935d 100644 --- a/services/gitdiff/gitdiff.go +++ b/services/gitdiff/gitdiff.go @@ -880,7 +880,7 @@ parsingLoop: // Handle ambiguous filenames if curFile.IsAmbiguous { // The shortest string that can end up here is: - // "--- a\t\n" without the qoutes. + // "--- a\t\n" without the quotes. // This line has a len() of 7 but doesn't contain a oldName. // So the amount that the line need is at least 8 or more. // The code will otherwise panic for a out-of-bounds. -- cgit v1.2.3