gitui-org / gitui-org/gitui

Configuration file support

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

説明

Whenever I run GitUI in a new working directory, when comparing differences, I have to do `o` to get into Options, then under Diff, I set "Ignore whitespaces" to `true`.

I would like it so that within the config directory, I can place a `gitui.ron` file with the content:

```ron
(
diff: (
ignore_whitespace: true,
context: 3,
interhunk_lines: 0,
)
)
```

Then when GitUI starts up, it uses these values as the new defaults, and any changes you make would be written to `.git/gitui` in the working directory.

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

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

調査の方向性

まず、GitUI の起動時の設定処理と Diff オプションの永続化パスを特定します。デフォルト値がどのように読み込まれ、変更がどのように書き込まれるかを追跡し、次に、設定ディレクトリの gitui.ron ファイルの値が起動時に適用される一方で、作業ディレクトリの変更が .git/gitui に保存されることを確認します。

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

評価

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

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

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