From 7c37d1068f0516deac5699f9fc03c51181641cae Mon Sep 17 00:00:00 2001 From: Sridhar Mocherla Date: Tue, 28 Feb 2023 15:47:03 -0500 Subject: [PATCH] Apply dept to fetch as well --- hooks/pre-checkout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/pre-checkout b/hooks/pre-checkout index 01db2b6..fc04659 100755 --- a/hooks/pre-checkout +++ b/hooks/pre-checkout @@ -6,6 +6,6 @@ echo "Running git-shallow-clone-buildkite-plugin -- pre-checkout" DEPTH="${BUILDKITE_PLUGIN_GIT_SHALLOW_CLONE_DEPTH:-1}" export BUILDKITE_GIT_CLONE_FLAGS="-v --depth ${DEPTH}" -#export BUILDKITE_GIT_FETCH_FLAGS="-v --prune --depth ${DEPTH}" +export BUILDKITE_GIT_FETCH_FLAGS="-v --prune --depth ${DEPTH}" #export BUILDKITE_GIT_CLONE_FLAGS="-v --filter=blob:none"