commit eab6f5d089a863d0d696726ff1d2017ebe507cd5
parent 8809597920e2d797811e2e62b6786c87a0a586ad
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 10 Jun 2024 11:29:10 +0200
Updating the checkout subcommand
Until now, only files in the current directory and its sub-directories
were extracted, whereas now we want to extract all WAD files in the
working directory.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-wad b/git-wad
@@ -362,7 +362,7 @@ checkout()
return 1
fi
- git ls-files \
+ git ls-files "${working_tree}" \
| xargs grep -le "^${GIT_WAD_HEADER} [0-9a-z]\{64\} [0-9]\{1,\}$" \
| while read -r i; do
restore "${i}"