Fix crash when toggling deleted hunk (#27138)

Release Notes:

- Fix rare crash when toggling deleted hunks.

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
João Marcos
2025-03-24 19:25:56 +00:00
committed by GitHub
co-authored by Max Brunsfeld
parent 11552cc0bd
commit bbc7fcc54f
4 changed files with 94 additions and 29 deletions
-2
View File
@@ -1,5 +1,3 @@
// #![allow(unused, dead_code)]
use crate::branch_picker::{self, BranchList};
use crate::git_panel::{commit_message_editor, GitPanel};
use git::{Commit, GenerateCommitMessage};