You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we invoke `git ls-files` to try to find all LFS files, we don't
honour sparse file paths or exclusions. While we should never actually
traverse excluded files, using the `--exclude-standard` option can
avoid loading some data with filtered clones, which may result in less
data being downloaded.
In addition, we can honour sparse checkouts, since this code path is
only used to handle the working tree and we know that the only files we
need to consider are those Git actually put in the working tree. The
`--sparse` option is new in 2.35, but we already require 2.42 above, so
we can use it unconditionally.
Co-authored-by: Chris Darroch <[email protected]>
0 commit comments