From d6a160d181417e57a083a036837803d1feb2c803 Mon Sep 17 00:00:00 2001 From: Meliox <5264368+Meliox@users.noreply.github.com> Date: Thu, 11 Jun 2026 21:56:44 +0200 Subject: [PATCH] add verbose to dry-run patching (#203) * test 2 * add verbose to dry-run patching --------- Co-authored-by: Meliox --- src/Scripts/apply-patches.sh | 4 ++-- src/test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Scripts/apply-patches.sh b/src/Scripts/apply-patches.sh index da7811c..ae34d06 100644 --- a/src/Scripts/apply-patches.sh +++ b/src/Scripts/apply-patches.sh @@ -72,8 +72,8 @@ list_modules() { } # Patch-state helpers (all use zero fuzz for deterministic detection). -_dry_forward() { patch -p0 -F0 -f --dry-run -s < "$1" >/dev/null 2>&1; } -_dry_reverse() { patch -R -p0 -F0 -f --dry-run -s < "$1" >/dev/null 2>&1; } +_dry_forward() { patch -p0 -F0 -f --dry-run --verbose < "$1"; } +_dry_reverse() { patch -R -p0 -F0 -f --dry-run --verbose < "$1"; } is_applied() { _dry_reverse "$1"; } can_apply() { _dry_forward "$1"; } do_apply() { patch -p0 -F0 -f -s < "$1"; } diff --git a/src/test.yml b/src/test.yml index d5f407e..22b816c 100644 --- a/src/test.yml +++ b/src/test.yml @@ -1 +1 @@ -trigger workflow test 1 \ No newline at end of file +trigger workflow test 1, 2 \ No newline at end of file