This reverts commit 248a5b8d7a. This commit introduces a regression descrdibed at https://github.com/go-gitea/gitea/pull/30790#issuecomment-2118812426 There is a commit to try and fix it, but it is similarly untested. Let's not accumulate regressions and wait until it is either field tested by humans in Gitea or a test is written. https://github.com/go-gitea/gitea/pull/31015/files
248a5b8d7a