forgejo/services
BtbN c08bdaacdb fix: use correct commit when fetching patch view for review comments (#9264)
This is effectively a clean revert of e7a77d32cc, which for some reason broke this logic.

Yes, always having the latest code shown in the diff is nice, but doing this mismatches the commitID and the line number the comment is being posted on, which very easily and frequently leads to reviews that show a completely nonsensical patch above them, cause the code it's referring too shifted by several lines since the time the review was started and the time it was posted.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9264
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: BtbN <btbn@btbn.de>
Co-committed-by: BtbN <btbn@btbn.de>
2025-09-20 22:47:52 +02:00
..
actions feat: make upload URL compatible with GitHub API (#9285) 2025-09-15 15:53:35 +02:00
agit
asymkey
attachment
auth fix: consistently enforce 2FA on OpenID 2.0 (#9073) 2025-08-30 13:14:54 +02:00
automerge
context feat: make upload URL compatible with GitHub API (#9285) 2025-09-15 15:53:35 +02:00
contexttest
convert feat: make upload URL compatible with GitHub API (#9285) 2025-09-15 15:53:35 +02:00
cron fix: LFS GC is never running because of a bug in the parsing of the INI file (#9202) 2025-09-09 22:32:49 +02:00
doctor
externalaccount
f3
federation
feed fix: very long commit messages cause pushed commits to fail to display on the action feed on MySQL (#9098) 2025-08-30 22:23:43 +02:00
forgejo
forms fix: email comments are removed from email addresses (#9074) 2025-08-30 13:15:30 +02:00
gitdiff feat(build): improve lint-locale-usage further (#8736) 2025-08-27 23:47:34 +02:00
indexer
issue feat: search in the docs directory for issue and pull request templates (#8863) 2025-08-26 22:08:10 +02:00
lfs
mailer fix: respect UI DEFAULT_SHOW_FULL_NAME setting in email From: headers (#9307) 2025-09-16 15:19:06 +02:00
markup
migrations Fix migration failing when importing either issues or PRs but not the other (#8892) 2025-09-01 14:05:10 +02:00
mirror
moderation
notify
org
packages fix: package cleanup rules are not applied when there are more than 200 packages (depends on MAX_RESPONSE_ITEMS) (#9219) 2025-09-09 17:39:35 +02:00
pull fix: use correct commit when fetching patch view for review comments (#9264) 2025-09-20 22:47:52 +02:00
redirect chore: add repo redirect unit test 2025-08-30 09:37:38 +02:00
release
remote
repository feat: Add converting mirror repos to normal to the API (#8932) 2025-09-14 14:25:05 +02:00
secrets
shared/automerge
task
uinotification
user fix: delete old auth token upon replacing primary email (#9076) 2025-08-30 13:16:37 +02:00
webhook feat: make upload URL compatible with GitHub API (#9285) 2025-09-15 15:53:35 +02:00
wiki