0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-09-23 04:43:49 -04:00
Lunny Xiao 04114c637a
Fix bug when review pull request commits () ()
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 
Replace 
Partially extract from 
Backport 
2025-08-11 13:18:03 +02:00
..