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

Commit

Permalink
Merge pull request #2902 from flynn/slugbuilder-no-checkout
Browse files Browse the repository at this point in the history
slugbuilder: Don't checkout origin/HEAD when cloning buildpacks
  • Loading branch information
josephglanville committed Jun 8, 2016
2 parents e7f2c1b + feb7958 commit 49f843e
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 49f843e

Please sign in to comment.