[vcpkg_from_git] Add --skip-repo to git lfs install#51092
[vcpkg_from_git] Add --skip-repo to git lfs install#51092BillyONeal merged 2 commits intomicrosoft:masterfrom
--skip-repo to git lfs install#51092Conversation
git lfs install --local --force was installing hooks (unneeded for a headless build fetch) into the temp clone. This fails when core.hooksPath points to an existing dir/symlink. --skip-repo installs only the required LFS filters, skipping hooks.
--skip-repo to git lfs install--skip-repo to git lfs install
|
Thanks! |
|
Looks like there are build failures. Some are baseline issues that are fixed in these:
but some are not. |
Build failures need to be investigated.
AFAICT none of the failures (and ports) use/invoke |
|
Hmmmm I think I got confused by how Azure DevOps and GitHub are connected to each other; the "checks" tab listed a whole lot more failures. Pushed a merge with those baseline fixes to see if that fixes it. |
|
Sigh... What caused the full rebuild? Should I not have clicked "ready for reaview"? :) |
git lfs install --local --forcewas installing hooks (that are AFAICT unnecessary for a headless build fetch, nothing is ever pushed) into the temp clone. This in turn fails whencore.hooksPathpoints to an existing dir/symlink. In particular, havinggit lfs installtouch user configurations can be considered quite intrusive.Specifically, from the docs:
From
git lfs install -h:Example error: