]> source.dussan.org Git - gitea.git/commit
Fix logic error from #28138 (#29417)
authoryp05327 <576951401@qq.com>
Mon, 26 Feb 2024 08:10:14 +0000 (17:10 +0900)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2024 08:10:14 +0000 (08:10 +0000)
commitf8c1efe944c539396402fb014bbfdb67ba199ef2
tree627f69010d07b8a02339be3d99f72ccb750087ee
parent17f170ee3724d8bdf2ddaad4211b12433f78ff0e
Fix logic error from #28138 (#29417)

There's a miss in #28138:

![image](https://github.com/go-gitea/gitea/assets/18380374/b1e0c5fc-0e6e-44ab-9f6e-34bc8ffbe1cc)

https://github.com/go-gitea/gitea/pull/28138/files#diff-2556e62ad7204a230c91927a3f2115e25a2b688240d0ee1de6d34f0277f37dfeR162

@lunny
Not sure about the impact of this, but it will only effect 1.22, and
maybe we should fix it ASAP.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
routers/private/hook_post_receive.go