From 9c05b5d228890fd4c42be9e6e7e8283554690b61 Mon Sep 17 00:00:00 2001 From: Teo Camarasu <teofilcamarasu@gmail.com> Date: Sat, 29 Mar 2025 10:53:13 +0000 Subject: [PATCH] Fix unpack-patch not adding new files to the index --- scripts/patch-tool | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/patch-tool b/scripts/patch-tool index 30377961..02fe7581 100755 --- a/scripts/patch-tool +++ b/scripts/patch-tool @@ -57,7 +57,8 @@ patch_pkg() { fi if [ -n "$patched" ]; then - git -C $pkg_dir commit -q -a -m "head.hackage.org patch" + git -C $pkg_dir add . # track changes or new files added by the patch + git -C $pkg_dir commit -q -m "head.hackage.org patch" fi } -- GitLab