gitui-org/gitui

show newer commits if on detached head

Open

#1,964 建立於 2023年11月27日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Rust (721 fork)batch import
feature-requestgood first issue

倉庫指標

Star
 (21,937 star)
PR 合併指標
 (平均合併 41天 9小時) (30 天內合併 6 個 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.

貢獻者指南