Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

slugbuilder: Don't checkout origin/HEAD when cloning buildpacks #2902

Merged
merged 1 commit into from Jun 8, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion slugbuilder/builder/install-buildpack
Expand Up @@ -33,7 +33,7 @@ IFS='#' read url treeish <<< "${buildpack_url}"
if [[ "${treeish}" == "" ]]; then
git clone --recursive --depth=1 "${url}" "${buildpack_name}"
else
git clone --recursive "${url}" "${buildpack_name}"
git clone --recursive --no-checkout "${url}" "${buildpack_name}"
pushd ${buildpack_name} > /dev/null
git checkout -q "${treeish}"
rm -rf .git
Expand Down