gitui-org/gitui

show newer commits if on detached head

Open

#1 964 ouverte le 27 nov. 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Rust (721 forks)batch import
feature-requestgood first issue

Métriques du dépôt

Stars
 (21 937 stars)
Métriques de merge PR
 (Merge moyen 41j 9h) (6 PRs mergées en 30 j)

Description

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.

Guide contributeur