add verbose to dry-run patching (#203)

* test 2

* add verbose to dry-run patching

---------

Co-authored-by: Meliox <na>
This commit is contained in:
Meliox 2026-06-11 21:56:44 +02:00 committed by GitHub
parent ed991b4adb
commit d6a160d181
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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"; }

View File

@ -1 +1 @@
trigger workflow test 1
trigger workflow test 1, 2