forgejo/routers
Gergely Nagy 624a61b3b8
[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)
(cherry picked from commit 2d3c81d4f2)
2024-01-28 11:05:33 +01:00
..
api [GITEA] API comment update routers/api/v1/shared/runners.go 2024-01-28 11:05:33 +01: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-28 09:22:15 +01:00
private [CLI] implement forgejo-cli 2024-01-28 07:47:32 +01: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-28 11:05:33 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2024-01-28 08:13:13 +01:00