-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sparse checkout not working with git version between 2.25 and 2.28 #1386
Comments
My preference would be to bump the minimum Git version. |
I think that is going to be the cleaner solution 👍🏽 |
This feature isn't working for me today on git 2.41.0 on a windows runner. This is the error: yml file looks like this: Any ideas what I'm missing? Or is this still broken on git 2.41? |
@jkwinder this is a totally different issue than what is described in #1386 (comment). A new ticket would be more appropriate, and if you choose to open that, do link to a workflow run that demonstrates the issue. |
* Check git version before attempting to disable `sparse-checkout` * Bump `MinimumGitSparseCheckoutVersion` to 2.28 due to #1386 * Initial prep for release 4.1.3
From this comment and after some digging a figure out that
sparse-checkout
won't work on a git version between2.25
and2.28
.Before
2.28
in order to use--filter=<filter>
on thegit fetch
theextensions.partialClone
config had to be set in order to be able to use it...Therefore in order to solve this we have 2 solutions:
2.28
What do you think about this @dscho?
The text was updated successfully, but these errors were encountered: