libgit2 / libgit2/libgit2sharp

Make LibGit2Sharp aware of external changes to the index

オープン
#526 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Easy fix Up for grabs
主要言語
C#
スター
3.5k
フォーク
925
PR マージ指標
30日以内にマージされた PR はありません

説明

With #525 a new method ReloadFromDisk() has been added to the Index which overwrites its content with the state of the on-disk index file.

RetrieveStatus already calls this method.

This method call should be deployed to many more methods: most of the Index methods along with some other ones (Commit, Stash, Reset, ...).

Maybe the first step of this change would be to try to list all the candidates...

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず Index のメソッドと RetrieveStatus 内にある既存の ReloadFromDisk() 呼び出しを確認し、その後、それらを issue で挙げられている他のエントリーポイントである Commit、Stash、Reset と比較します。完了条件は、影響を受けるメソッドを特定し、それらがディスク上の Index に対する外部からの変更を考慮していることを確認することです。issue では具体的なファイルやテストは指定されていません。

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

評価

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

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

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