forgejo/routers/web
Kyle D 2b3f12f6fd
Use beforeCommit instead of baseCommit (#22949)
Replaces: https://github.com/go-gitea/gitea/pull/22947
Fixes https://github.com/go-gitea/gitea/issues/22946
Probably related to https://github.com/go-gitea/gitea/issues/19530

Basically, many of the diffs were broken because they were comparing to
the base commit, where a 3-dot diff should be comparing to the [last
common
ancestor](https://matthew-brett.github.io/pydagogue/git_diff_dots.html).

This should have an integration test so that we don’t run into this
issue again.

---------

Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
2023-02-20 11:56:07 +08:00
..
admin Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
auth Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
events
explore
feed
healthcheck
misc
org Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
repo Use beforeCommit instead of baseCommit (#22949) 2023-02-20 11:56:07 +08:00
shared
user Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
auth.go
auth_windows.go
base.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Map OIDC groups to Orgs/Teams (#21441) 2023-02-08 14:44:42 +08:00
webfinger.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00