Skip to content

Commit

Permalink
Merge pull request #3 from brexhq/smocherla/fetch-flags
Browse files Browse the repository at this point in the history
[INC-2231] Apply `--depth` to fetch as well
  • Loading branch information
smocherla-brex authored Feb 28, 2023
2 parents 5455d49 + 7c37d10 commit 835a43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/pre-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 835a43d

Please sign in to comment.