commit graph erroneously shows branches as ending #5684

Closed
opened 2025-11-02 06:33:02 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @piersh-aetheros on GitHub (Jul 3, 2020).

Powered by Gitea Version: 1.11.6 Page: 2319ms Template: 21ms JavaScript licenses API Website Go1.13.11

  • Gitea version (or commit ref): 1.11.6
  • Git version: 2.18
  • Operating system: centos7
  • Database (use [x]): mysql
  • Can you reproduce the bug at https://try.gitea.io: no, can't find an appropriate repo

Description

assume you have a repo that has two branches each with commits that appear on the first two pages of the commit graph.

page 1:

|
*    branch A commit 4
| *  branch B commit 3
| |

page 2:

|
*    branch A commit 2
| *  branch B commit 1
| |

notice how, on page 2, the branch B doesn't extend up to the top of the page. it looks like branch B commit 1 is the last commit on that branch.

expected:

page 2:

| |
* |  branch A commit 2
| *  branch B commit 1
| |
Originally created by @piersh-aetheros on GitHub (Jul 3, 2020). Powered by Gitea Version: 1.11.6 Page: 2319ms Template: 21ms JavaScript licenses API Website Go1.13.11 - Gitea version (or commit ref): 1.11.6 - Git version: 2.18 - Operating system: centos7 - Database (use `[x]`): mysql - Can you reproduce the bug at https://try.gitea.io: no, can't find an appropriate repo ## Description assume you have a repo that has two branches each with commits that appear on the first two pages of the commit graph. page 1: ```` | * branch A commit 4 | * branch B commit 3 | | ```` page 2: ```` | * branch A commit 2 | * branch B commit 1 | | ```` notice how, on page 2, the branch `B` doesn't extend up to the top of the page. it looks like `branch B commit 1` is the last commit on that branch. expected: page 2: ```` | | * | branch A commit 2 | * branch B commit 1 | | ````
GiteaMirror added the type/bug label 2025-11-02 06:33:02 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5684