mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
13359581df
- The `NoBetterThan` function can only handle comparisons between "pending," "success," "error," and "failure." For any other comparison, we directly return false. This prevents logic errors like the one in #26121. - The callers of the `NoBetterThan` function should also avoid making incomparable calls. --------- Co-authored-by: yp05327 <576951401@qq.com> Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com> |
||
---|---|---|
.. | ||
activity.go | ||
attachment.go | ||
convert.go | ||
git_commit_test.go | ||
git_commit.go | ||
issue_comment.go | ||
issue_test.go | ||
issue.go | ||
main_test.go | ||
mirror.go | ||
notification.go | ||
package.go | ||
pull_review.go | ||
pull_test.go | ||
pull.go | ||
release.go | ||
repository.go | ||
status.go | ||
user_test.go | ||
user.go | ||
utils_test.go | ||
utils.go | ||
wiki.go |