1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 23:24:25 +00:00
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>
2020-10-22 15:30:19 +01:00
..
comments Refactor pull request review (#8954) 2019-11-14 10:57:36 +08:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
gitdiff Fix initial commit page & binary munching problem (#13249) (#13259) 2020-10-22 15:30:19 +01:00
issue Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
mailer Fix "only mail on mention" bug (#12775) (#12789) 2020-09-10 11:32:54 +03:00
mirror Mirror: Update DB on Address-Update too (#12964) (#12967) 2020-09-28 21:52:13 +02:00
pull Fix error create comment on outdated file (#13041) (#13042) 2020-10-06 14:38:08 +08:00
release Backport to v1.12 for #12341 - Release date fix (#12351) 2020-07-28 14:10:50 -04:00
repository Fix repository create/delete event webhooks (#13008) (#13027) 2020-10-04 17:42:03 -04:00
wiki Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00