aboutsummaryrefslogtreecommitdiffstats
path: root/models/git_diff.go
diff options
context:
space:
mode:
authorKuba Tyszko <kuba@lbl.pl>2017-04-02 19:21:09 -0700
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-04-03 10:21:09 +0800
commit5d6b71fdbb8bf28dd18714b2b168d41e3a673ab8 (patch)
tree66a81929de657fe618cc4c32bea44b230a117834 /models/git_diff.go
parent21fd3da6f5c2787d3df7670fd7d571cf36039ff9 (diff)
downloadgitea-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.go1
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
}
}
}