mirror of
https://github.com/actions/checkout.git
synced 2025-04-09 08:50:25 +02:00
run git config in correct di
This commit is contained in:
parent
47dd1f74bf
commit
d8b9bab5dc
@ -8,7 +8,7 @@ fi
|
||||
|
||||
# Verify .git/config contains partialclonefilter
|
||||
|
||||
CLONE_FILTER=$(git config --local --get remote.origin.partialclonefilter)
|
||||
CLONE_FILTER=$(git -C fetch-filter config --local --get remote.origin.partialclonefilter)
|
||||
|
||||
if [ "$CLONE_FILTER" != "blob:none" ]; then
|
||||
echo "Expected ./fetch-filter/.git/config to have 'remote.origin.partialclonefilter' set to 'blob:none'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user