mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425)
This commit is contained in:
		@@ -287,7 +287,6 @@ func ParsePatch(maxLines, maxLineCharacters, maxFiles int, reader io.Reader) (*D
 | 
				
			|||||||
					curFile.IsBin = true
 | 
										curFile.IsBin = true
 | 
				
			||||||
					curFile.IsLFSFile = true
 | 
										curFile.IsLFSFile = true
 | 
				
			||||||
					curSection.Lines = nil
 | 
										curSection.Lines = nil
 | 
				
			||||||
					break
 | 
					 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user