You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
zeripath f1fd8a772f
Fix initial commit page & binary munching problem (#13249) (#13259)
Backport #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 <art27@cantab.net>

* Also fix #13248

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update services/gitdiff/gitdiff.go

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: 6543 <6543@obermui.de>
4 years ago
..
comments Refactor pull request review (#8954) 5 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
gitdiff Fix initial commit page & binary munching problem (#13249) (#13259) 4 years ago
issue Fix ref links in issue overviews for tags (#8742) 5 years ago
mailer Fix "only mail on mention" bug (#12775) (#12789) 4 years ago
mirror Mirror: Update DB on Address-Update too (#12964) (#12967) 4 years ago
pull Fix error create comment on outdated file (#13041) (#13042) 4 years ago
release Backport to v1.12 for #12341 - Release date fix (#12351) 5 years ago
repository Fix repository create/delete event webhooks (#13008) (#13027) 4 years ago
wiki Handle push rejection in branch and upload (#10854) 5 years ago