gitui-org / gitui-org/gitui

Filter out merge commits

オープン
#2,830 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request
主要言語
Rust
スター
22.5k
フォーク
773
PR マージ指標
30日以内にマージされた PR はありません

説明

**Is your feature request related to a problem? Please describe.**

I'd like to filter out merge commits like it can be done with `git log --no-merges`

**Describe the solution you'd like**

I don't know how this could be implemented best UX-wise. Maybe a new key binding that does exactly this ?
Another option would be to add support for arbitrary git log parameters. [tig](https://jonas.github.io/tig/) does this, which I like and used pretty much. You could start tig with `tig --no-merges`.

**Describe alternatives you've considered**

I don't see any alternative inside gitui, only using tig when I need to filter merge commits.

**Additional context**

Thanks for gitui, it's great !

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

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

調査の方向性

この issue ではファイルもテストも指定されていません。まず gitui がどのようにコミット一覧を構築して表示しているかを追跡し、その後、要求された動作を git log --no-merges および tig --no-merges と比較してください。定義された gitui の操作によってマージコミットをフィルタリングでき、選択した UX とサポートするパラメーターが文書化またはテストされていれば完了です。

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

評価

技術スタック
git, rust
領域
cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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