mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 17:12:51 +01:00
fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425)
This commit is contained in:
parent
21fd3da6f5
commit
5d6b71fdbb
1 changed files with 0 additions and 1 deletions
|
@ -287,7 +287,6 @@ func ParsePatch(maxLines, maxLineCharacters, maxFiles int, reader io.Reader) (*D
|
|||
curFile.IsBin = true
|
||||
curFile.IsLFSFile = true
|
||||
curSection.Lines = nil
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue