🩹 Downgrade git from v2.47.1.windows.1 to v2.47.0.windows.2 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The version of
curl
bundled withmingit
v2.47.1.windows.1
has a regression where the fallback to~/_netrc
on windows is ignored and it only uses~/.netrc
.See git-for-windows/git#5306
Since
git lfs
on windows only supports~/_netrc
we decided to downgrademingit
to the latest working version (I tested that it works).I created an issue to remind us update
mingit
.Change summary
See the package definition for how the git for windows version translates to the version on
winget
.While the upstream image
ghcr.io/s-weigand/mingit:ltsc2022
is now fixed, theltsc2022
tag is a rolling tag, so having the install commands contained in the Dockerfile is more transparent and gives us more control./
is a perfectly fine path separator on window, no need to use\
in places where we don't have to)