Gitea's issue comments endpoint ignores paging, so the hook now reads all comments in one call; the paged loop refused every merge. Any command that calls gitea.sh and mentions a merge must now be the strict form as a whole, while commands that only name gitea.sh as a file (git add, git diff) pass. The body may only pin the head commit, and curl calls have time limits so the hook can't time out into a non-blocking error.