diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-12 01:47:59 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-12 01:47:59 -0400 |
commit | 794b457252b270ae452b3ea946d91b216f27ac5d (patch) | |
tree | b846a6d59ab8b00dbb791944f1002edf6a32d89e /models | |
parent | 790a2c1099f1e9946b854741ce8e5acfe12f119a (diff) | |
download | gitea-794b457252b270ae452b3ea946d91b216f27ac5d.tar.gz gitea-794b457252b270ae452b3ea946d91b216f27ac5d.zip |
Mirror fix
Diffstat (limited to 'models')
-rw-r--r-- | models/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/git.go b/models/git.go index 10e8ca48ba..07f232977e 100644 --- a/models/git.go +++ b/models/git.go @@ -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 } |