mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 05:17:22 +02:00
Fix typos throughout the codebase (#7514)
This commit is contained in:
committed by
GitHub
parent
9f1499f3ab
commit
3cc8e7aa6d
@@ -73,7 +73,7 @@ func (s *DiffSection) ComputedInlineDiffFor(line *git.DiffLine) template.HTML {
|
||||
func diffsToHTML(diffs []diffmatchpatch.Diff, lineType git.DiffLineType) template.HTML {
|
||||
buf := bytes.NewBuffer(nil)
|
||||
|
||||
// Reproduce signs which are cutted for inline diff before.
|
||||
// Reproduce signs which are cut for inline diff before.
|
||||
switch lineType {
|
||||
case git.DiffLineAdd:
|
||||
buf.WriteByte('+')
|
||||
|
||||
Reference in New Issue
Block a user