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

Fix initial commit page & binary munching problem (#13249) #13258

Merged
merged 1 commit into from
Oct 22, 2020

Commits on Oct 22, 2020

  1. Fix initial commit page & binary munching problem (go-gitea#13249)

    Backport go-gitea#13249
    
    * Fix initial commit page
    
    Unfortunately as a result of properly fixing ParsePatch the hack that
    used git show <initial_commit_id> to get the diff for this failed.
    
    This PR fixes this using the "super-secret" empty tree ref to make the
    diff against.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Also fix go-gitea#13248
    
    Signed-off-by: Andrew Thornton <[email protected]>
    
    * Update services/gitdiff/gitdiff.go
    
    Co-authored-by: 6543 <[email protected]>
    zeripath and 6543 committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    2db010b View commit details
    Browse the repository at this point in the history