gitui-org/gitui

show newer commits if on detached head

开放

#1,964 创建于 2023年11月27日

 (2 条评论) (0 个反应) (0 位负责人)Rust (721 个派生)batch import
feature-requestgood first issue

仓库指标

星标
 (21,937 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南