gitui-org / gitui-org/gitui

show newer commits if on detached head

オープン
#1,964 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request good first issue
主要言語
Rust
スター
22.5k
フォーク
773
PR マージ指標
30日以内にマージされた 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](https://libgit2.org/libgit2/#HEAD/group/graph/git_graph_descendant_of) 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

現在 HEAD から始まっているログ生成パスから開始し、続いて detached-head とブランチ走査のエントリポイントを調べます。libgit2 の git_graph_descendant_of に関するガイダンスを使って、どのブランチ先端を表示すべきかを判断します。完了の条件は、ログに新しいコミットが表示され、detached HEAD が正しく位置付けられることであり、#81 のグラフ全体に関する作業には取り組みません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git, rust
領域
cli
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
50/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。