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

Prevent NPE on empty commit (#16812) #16819

Merged
merged 2 commits into from
Aug 25, 2021

Commits on Aug 25, 2021

  1. Prevent NPE on empty commit (go-gitea#16812)

    Backport go-gitea#16812
    
    Handle completely empty commit as the first commit to a repository.
    
    Fix go-gitea#16668
    
    Signed-off-by: Andrew Thornton art27@cantab.net
    zeripath committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    ce4d290 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5f8dce View commit details
    Browse the repository at this point in the history