]> source.dussan.org Git - gitea.git/commit
fix orphan check for deleted branch (#27310) (#27320)
authorGiteabot <teabot@gitea.io>
Thu, 28 Sep 2023 03:16:05 +0000 (11:16 +0800)
committerGitHub <noreply@github.com>
Thu, 28 Sep 2023 03:16:05 +0000 (11:16 +0800)
commit2138661dae2fbb88eba1a04d48faf27a2cebb934
treea630e4e9ec54d1787a58f186a2a80590b0b3685f
parent4b37eb2c23f8488f36247f25f9cfd4949eb17e23
fix orphan check for deleted branch (#27310) (#27320)

Backport #27310 by @earl-warren

- Modify the deleted branch orphan check to check for the new table
instead.
- Regression from 6e19484f4d3bf372212f2da462110a1a8c10cbf2
- Resolves https://codeberg.org/forgejo/forgejo/issues/1522

(cherry picked from commit c1d888686fe445e4edecb9d835c5b3893b574b75)

Co-authored-by: Earl Warren <109468362+earl-warren@users.noreply.github.com>
Co-authored-by: Gusted <postmaster@gusted.xyz>
modules/doctor/dbconsistency.go