Make LibGit2Sharp aware of external changes to the index

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

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

評価

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

調査の方向性

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

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

説明

Easy fix Up for grabs

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...

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

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

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

はじめの一歩

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

libgit2/libgit2sharp のほかの issue

libgit2/libgit2sharp の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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