From 90d38f011dd500944208aad8790959e60f94db0d Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Tue, 13 Jan 2026 14:35:19 +0100 Subject: [PATCH] lib/terminal: Quitting `git diff` does not report errors --- bin/commands/patch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/commands/patch.rs b/bin/commands/patch.rs index d6d535bc..8166edf4 100644 --- a/bin/commands/patch.rs +++ b/bin/commands/patch.rs @@ -423,7 +423,7 @@ mod interface { search: Some(args.search()), }; - terminal::run_git(Some("diff"), &[range.into()])?; + let _ = terminal::run_git(Some("diff"), &[range.into()]); } list::PatchOperation::Checkout { args } => { state = PreviousState {