mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-01 21:18:46 +03:00
Mirror fix
This commit is contained in:
@ -302,7 +302,7 @@ func ParsePatch(reader io.Reader) (*Diff, error) {
|
||||
i = i + 1
|
||||
|
||||
// Diff data too large.
|
||||
if i == 10000 {
|
||||
if i == 2000 {
|
||||
return &Diff{}, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user