diff options
author | zeripath <art27@cantab.net> | 2020-10-22 00:08:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 19:08:44 -0400 |
commit | 327f18c3b28225dcfcaa0409b880136f7e1d1bf6 (patch) | |
tree | 52db7ee62a56ac13e568820266c4f06599b536e2 /services/gitdiff/gitdiff_test.go | |
parent | f6ee7ce9b6da6abcb32f3d7d90f34dbe3b01bb41 (diff) | |
download | gitea-327f18c3b28225dcfcaa0409b880136f7e1d1bf6.tar.gz gitea-327f18c3b28225dcfcaa0409b880136f7e1d1bf6.zip |
Fix initial commit page & binary munching problem (#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>
Diffstat (limited to 'services/gitdiff/gitdiff_test.go')
0 files changed, 0 insertions, 0 deletions