Try to get sparse checkout to work with lfs

This commit is contained in:
Dan Hawkins 2019-05-14 23:42:49 +01:00
commit 1aee93e121

View file

@ -199,10 +199,10 @@ def gitinit(String targetDir, String reporootpath) {
git init "${targetDir}"
"""
}
echo "Writing ${reporootpath}/.git/objects to ${targetDir}/.git/objects/info/alternates"
dir("${targetDir}/.git/objects/info") {
writeFile(file: 'alternates', text: "${reporootpath}/.git/objects")
}
}
echo "Writing ${reporootpath}/.git/objects to ${targetDir}/.git/objects/info/alternates"
dir("${targetDir}/.git/objects/info") {
writeFile(file: 'alternates', text: "${reporootpath}/.git/objects")
}
}