-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Backport #22826 Creating a new buffered reader for every part of the blame can miss lines, as it will read and buffer bytes that the next buffered reader will not get. --------- Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Brecht Van Lommel <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
- Loading branch information
1 parent
1d191f9
commit 9da4642
Showing
2 changed files
with
22 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ summary Add code of delete user | |
previous be0ba9ea88aff8a658d0495d36accf944b74888d gogs.go | ||
filename gogs.go | ||
// license that can be found in the LICENSE file. | ||
` + ` | ||
e2aa991e10ffd924a828ec149951f2f20eecead2 6 6 2 | ||
author Lunny Xiao | ||
author-mail <[email protected]> | ||
|
@@ -112,9 +112,7 @@ func TestReadingBlameOutput(t *testing.T) { | |
}, | ||
{ | ||
"ce21ed6c3490cdfad797319cbb1145e2330a8fef", | ||
[]string{ | ||
"// Copyright 2016 The Gitea Authors. All rights reserved.", | ||
}, | ||
[]string{"// Copyright 2016 The Gitea Authors. All rights reserved."}, | ||
}, | ||
{ | ||
"4b92a6c2df28054ad766bc262f308db9f6066596", | ||
|