]> source.dussan.org Git - gitea.git/commit
Use beforeCommit instead of baseCommit (#22949) (#22996)
authorKyle D <kdumontnu@gmail.com>
Tue, 21 Feb 2023 15:51:02 +0000 (10:51 -0500)
committerGitHub <noreply@github.com>
Tue, 21 Feb 2023 15:51:02 +0000 (10:51 -0500)
commit760cf419bacb757da5fb26c1440ce23050feddad
tree521accc64aea118435dad5c4c6f420c9a5581325
parent90982bffa5fe472d528577409cb77f85a745d1a0
Use beforeCommit instead of baseCommit (#22949) (#22996)

Backport #22949
Fixes https://github.com/go-gitea/gitea/issues/22946
Probably related to https://github.com/go-gitea/gitea/issues/19530

Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
19 files changed:
models/fixtures/repo_unit.yml
routers/web/repo/compare.go
templates/repo/diff/box.tmpl
tests/gitea-repositories-meta/user2/repo20.git/hooks/post-receive.d/gitea
tests/gitea-repositories-meta/user2/repo20.git/hooks/pre-receive.d/gitea
tests/gitea-repositories-meta/user2/repo20.git/hooks/update.d/gitea
tests/gitea-repositories-meta/user2/repo20.git/objects/07/0b2e783a6b3e521a23fdead377a3e41a04410d [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/79/adb592126eddce5f656f56db797910db025af0 [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/8b/abce967f21b9dfa6987f943b91093dac58a4f0 [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/a4/202876cd8bbc3f38b7d99594edbe1bb7f97a6f [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/b0/246d5964a3630491bd06c756be46513e3d7035 [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/b6/7e43a07d48243a5f670ace063acd5e13f719df [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/c8/e31bc7688741a5287fcde4fbb8fc129ca07027 [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/cf/e3b3c1fd36fba04f9183287b106497e1afe986 [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/objects/ea/f5f7510320b6a327fb308379de2f94d8859a54 [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/refs/heads/add-csv [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/refs/heads/remove-files-a [new file with mode: 0644]
tests/gitea-repositories-meta/user2/repo20.git/refs/heads/remove-files-b [new file with mode: 0644]
tests/integration/compare_test.go