mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 12:46:09 +01:00
Mirror fix
This commit is contained in:
parent
790a2c1099
commit
794b457252
|
@ -302,7 +302,7 @@ func ParsePatch(reader io.Reader) (*Diff, error) {
|
||||||
i = i + 1
|
i = i + 1
|
||||||
|
|
||||||
// Diff data too large.
|
// Diff data too large.
|
||||||
if i == 10000 {
|
if i == 2000 {
|
||||||
return &Diff{}, nil
|
return &Diff{}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue