Skip to content

Branch create event shows up as newer than push in user timeline #35064

Open
@SpeedyCraftah

Description

@SpeedyCraftah

Description

I'm not sure if this is just a quirk in how Git works and is expected, but whenever I (locally) create a branch based off of a specific commit hash (likely based on anything), commit a change and then push everything to remote, in the Gitea user dashboard timeline the branch creation shows up as the latest entry while the commit I pushed shows up right before it (aka older). I was able to reproduce this consistently both on my older 1.24.0 Gitea instance and the newer demo.gitea.com instance.

A very minor issue but I'm very detail orientated 😅.

Gitea Version

1.24.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Image

Logically the branch create event should show up before the push to that new branch?

If it is of any use, the ISO timestamps of both events as shown on the Gitea dashboard:
Push to test-branch: 2025-07-13T10:16:12Z
Branch creation: 2025-07-13T10:16:12Z

Maybe this is because on the UI level Gitea doesn't care about the exact timing and instead only displays the events on a second-level, causing the branch creation to show up as newer (per some magic sorting rules)?

Git Version

2.49.0

Operating System

No response

How are you running Gitea?

Self hosted rootless docker container image running under Podman.

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions