refresh Reference when commit with update_ref non-None
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 1.7k
- フォーク
- 408
- 平均マージ
- 2日 57分
- マージ済み PR(30日)
- 7
説明
When repo.amend_commit(commit, branch, tree=tree), where branch is a Reference/str, the reference is update by libgit2 upon calling git_commit_amend.
However, the reference object branch still points to (branch.peel()) the original commit.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
エントリポイント repo.amend_commit(commit, branch, tree=tree) から開始し、git_commit_amend の前後で Reference の動作を比較します。branch が Reference または str の場合に branch.peel() がどのように解決されるかを確認します。完了とは、指定された参照が元のコミットではなく、修正されたコミットを反映していることを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, python
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100