11f9f7f5e77dd366623d6905d152256b0e844631
- Author
- Rohan Santhosh Kumar <181558744+Rohan5commit@users.noreply.github.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
docs: fix typo in inline diff comment (#833)
Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>
Diff
1diff --git a/git/patch.go b/git/patch.go
2index ad8d98255eabd255fb0d0e403d2eec21dfb81860..aae88128689703e9796061d354194f160b5a9462 100644
3--- a/git/patch.go
4+++ b/git/patch.go
5@@ -63,7 +63,7 @@ func (s *DiffSection) diffFor(line *git.DiffLine) string {
6 func diffsToString(diffs []diffmatchpatch.Diff, lineType git.DiffLineType) string {
7 buf := bytes.NewBuffer(nil)
8
9- // Reproduce signs which are cutted for inline diff before.
10+ // Reproduce signs that were cut off for inline diff before.
11 switch lineType {
12 case git.DiffLineAdd:
13 buf.WriteByte('+')