diff --git a/scripts/patch-tool b/scripts/patch-tool index 30377961f2e8312ca98eaf4cd87d7522a9ce2253..02fe7581a80edafed6a6e03a0255ee9b08c959fd 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 }