Fix interdiff generation
This commit is contained in:
parent
b7f3fa081c
commit
e05cab4e64
1 changed files with 3 additions and 1 deletions
|
|
@ -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)),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue