fix - stack / requires force

Toggle on 'requires force push' if there are upstream only patches (so that they can be overriden)
This commit is contained in:
Kiril Videlov 2024-10-18 12:01:46 +02:00
parent 99ada05663
commit 74e35f86cf
No known key found for this signature in database
GPG Key ID: A4C733025427C471

View File

@ -236,6 +236,9 @@ pub(crate) fn stack_series(
}
}
upstream_patches.reverse();
if !upstream_patches.is_empty() {
requires_force = true;
}
api_series.push(PatchSeries {
name: series.head.name,
description: series.head.description,