diff options
author | Kuba Tyszko <kuba@lbl.pl> | 2017-04-02 19:21:09 -0700 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-04-03 10:21:09 +0800 |
commit | 5d6b71fdbb8bf28dd18714b2b168d41e3a673ab8 (patch) | |
tree | 66a81929de657fe618cc4c32bea44b230a117834 /models/git_diff.go | |
parent | 21fd3da6f5c2787d3df7670fd7d571cf36039ff9 (diff) | |
download | gitea-5d6b71fdbb8bf28dd18714b2b168d41e3a673ab8.tar.gz gitea-5d6b71fdbb8bf28dd18714b2b168d41e3a673ab8.zip |
fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425)
Diffstat (limited to 'models/git_diff.go')
-rw-r--r-- | models/git_diff.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/models/git_diff.go b/models/git_diff.go index d9bb5e9d90..bde2f7ead0 100644 --- a/models/git_diff.go +++ b/models/git_diff.go @@ -287,7 +287,6 @@ func ParsePatch(maxLines, maxLineCharacters, maxFiles int, reader io.Reader) (*D curFile.IsBin = true curFile.IsLFSFile = true curSection.Lines = nil - break } } } |