From e05cab4e64e073bb3b77dd5ab8d91cbd5a785755 Mon Sep 17 00:00:00 2001 From: Quentin Boyer Date: Thu, 18 Dec 2025 18:06:42 +0100 Subject: [PATCH] Fix interdiff generation --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 4bc618a..52a0769 100644 --- a/src/main.rs +++ b/src/main.rs @@ -496,7 +496,9 @@ impl FormatPatch { .ok_or(miette!("Interdiff patch path is not utf-8"))? .to_string(); - match path.ends_with(COVER_LETTER_NAME) || path.ends_with(STACKED_ON_NAME) { + match path.ends_with(&format!("{COVER_LETTER_NAME}.patch")) + || path.ends_with(STACKED_ON_NAME) + { true => Ok(None), false => Ok(Some(path)), }