Staging reset
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.7k
- フォーク
- 408
- 平均マージ
- 2日 57分
- マージ済み PR(30日)
- 7
説明
Issue found that when I stage and commit in pygit2 the staged file list is not removed. This in turn causes the whole working directory to be cleared because the staged files is still present if "git status" is called. Is there a workaround? : Like Index.remove() after the version is staged and committed?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue に記載されている staging と commit の手順を再現し、その後、Index.remove() と git status が staged ファイルをどのように報告するかを調べます。完了条件は、commit 後に staged ファイルの一覧が消去され、作業ディレクトリが誤って消去されないことです。この動作の回帰テストを追加してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, python
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100