forgejo/routers
Gergely Nagy 2d3c81d4f2
[GITEA] Don't consider orphan branches as recently pushed
When displaying the recently pushed branches banner, don't display
branches that have no common history with the default branch. These
branches are usually not meant to be merged, so the banner is just noise
in this case.

Refs: https://codeberg.org/forgejo/forgejo/pulls/2196

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit e1fba517f4)
2024-01-22 18:13:43 +00:00
..
api [GITEA] API comment update routers/api/v1/shared/runners.go 2024-01-22 18:13:43 +00:00
common Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
install [GITEA] Add password length check on install page 2024-01-22 14:35:03 +00:00
private [CLI] implement forgejo-cli 2024-01-22 12:18:30 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [GITEA] Don't consider orphan branches as recently pushed 2024-01-22 18:13:43 +00:00
init.go [API] Forgejo API /api/forgejo/v1 2024-01-22 13:41:20 +00:00