1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 08:43:08 +00:00

fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425)

This commit is contained in:
Kuba Tyszko 2017-04-02 19:21:09 -07:00 committed by Bo-Yi Wu
parent 21fd3da6f5
commit 5d6b71fdbb

View file

@ -287,7 +287,6 @@ func ParsePatch(maxLines, maxLineCharacters, maxFiles int, reader io.Reader) (*D
curFile.IsBin = true
curFile.IsLFSFile = true
curSection.Lines = nil
break
}
}
}