Problem
Multiple places in the codebase silently ignore branch deletion failures with let _ =:
github/mod.rs:459 — remote branch deletion via API (causes stale remote branches)
commands.rs:716,1088 — local branch deletion after merge/undo
manager.rs:405,462 — local branch deletion after clean/ship
Users see no feedback when these fail, leading to confusion (e.g., stale branches in GitKraken).
Solution
Replace let _ = with if let Err(e) = ... { eprintln!("warning: ...") } for branch deletion operations. Keep let _ = for best-effort operations (lock files, rebase --abort).
Problem
Multiple places in the codebase silently ignore branch deletion failures with
let _ =:github/mod.rs:459— remote branch deletion via API (causes stale remote branches)commands.rs:716,1088— local branch deletion after merge/undomanager.rs:405,462— local branch deletion after clean/shipUsers see no feedback when these fail, leading to confusion (e.g., stale branches in GitKraken).
Solution
Replace
let _ =withif let Err(e) = ... { eprintln!("warning: ...") }for branch deletion operations. Keeplet _ =for best-effort operations (lock files, rebase --abort).