1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-04-01 22:10:06 +02:00
checkout/dist
Johannes Schindelin 25d6c12a40 Support sparse checkout/LFS better
Instead of fetching all the LFS objects present in the current revision
in a sparse checkout, whether they are needed inside the sparse cone or
not, let's instead only pull the ones that are actually needed.

To do that, let's avoid running that preemptive `git lfs fetch` call in
case of a sparse checkout.

An alternative that was considered during the development of this patch
(and ultimately rejected) was to use `git lfs pull --include <path>...`,
but it turned out to be too inflexible because it requires exact paths,
not the patterns that are available via the sparse checkout definition,
and that risks running into command-line length limitations.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2023-06-07 15:02:03 +02:00
..
index.js Support sparse checkout/LFS better 2023-06-07 15:02:03 +02:00
problem-matcher.json Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00