Edit action should while checking previous commit hashes with deleted files
- 主要言語
- Rust
- スター
- 22.5k
- フォーク
- 774
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the bug**
Edit action should while checking previous commit hashes with deleted files
**To Reproduce**
Steps to reproduce the behavior:
1. Go to the Log view
2. Select any past commit with deleted files
3. Select a file reported as deleted
4. Invoke the Edit action
The editor should open showing the contents of the deleted file (as it does for files not deleted), but instead "file not found" error is presented.
**Screenshots**
**Context (please complete the following information):**
- OS/Distro + Version: MacOS Tahoe (`Darwin J694V6PW0F 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:51:28 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T6041 arm64)
- GitUI Version: gitui nightly 2025-12-14
- Rust version: I installed using homebrew
コントリビューションガイド
調査の方向性
まず、削除されたファイルを含む過去のコミットを使って Log ビューから問題を再現し、次に Edit アクションの Rust 実装と、以前のコミットのパスの処理を追跡します。削除されたファイルに対して Edit を実行すると、"file not found" エラーが発生する代わりにその内容が開けば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- git, rust
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100