Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle incomplete diff files properly (#13662) #13669

Commits on Nov 21, 2020

  1. * Handle incomplete diff files properly

      The code for parsing diff hunks has a bug whereby a very long line in a very long diff would not be completely read leading to an unexpected character.
    
      This PR ensures that the line is completely cleared
    
    * Also allow git max line length <4096
    
    * Add test case
    
    Fix go-gitea#13602
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored and 6543 committed Nov 21, 2020
    Configuration menu
    Copy the full SHA
    44f127c View commit details
    Browse the repository at this point in the history