gitea/routers
Lunny Xiao be2a6b4414
Fix bug when review pull request commits (#35192)
The commit range in the UI follows a half-open, half-closed convention:
(,]. When reviewing a range of commits, the beforeCommitID should be set
to the commit immediately preceding the first selected commit. For
single-commit reviews, we must identify and use the previous commit of
that specific commit.

The endpoint ViewPullFilesStartingFromCommit is currently unused and can
be safely removed.

Fix #35157 
Replace #35184 
Partially extract from #35077
2025-08-03 10:23:10 -07:00
..
api Add `owner` and `parent` fields clarification to docs (#35023) 2025-07-23 06:44:34 +00:00
common Refactor head navbar icons (#34922) 2025-07-04 13:03:22 +02:00
install enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
private Use standalone function to update repository cols (#34811) 2025-06-26 17:23:21 +00:00
utils Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
web Fix bug when review pull request commits (#35192) 2025-08-03 10:23:10 -07:00
init.go Prepare for support performance trace (#33286) 2025-01-15 20:05:18 +00:00