gitui-org/gitui

show newer commits if on detached head

Offen

#1.964 geöffnet am 27.11.2023

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (721 Forks)batch import
feature-requestgood first issue

Repository-Metriken

Stars
 (21.937 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 41T 9h) (6 gemergte PRs in 30 T)

Beschreibung

Right now the log starts from HEAD - no matter if that's a tip of a branch or not.

For #81 we need to do the revwalk from every tip and come up with a smart data structure that allows us to draw the correct graph without storing the whole graph in memory.

Before tackling #81 we can at least determine if we are on a detached head and then iterate the branches whether one is a descendent of our current HEAD and then start from the branch tip and visualize where HEAD is in the log.

Contributor Guide