path: root/compat/mingw.c
diff options
authorJohannes Schindelin <>2019-01-29 14:19:31 (GMT)
committerJunio C Hamano <>2019-01-29 17:26:46 (GMT)
commit6c1f4ae65ad62f33c85884c723aa2c8a57207b85 (patch)
tree2f0b9772efc1c1cd430bee62d6fdb407673f5fea /compat/mingw.c
parent2e90484eb4ad0eb4334a94ba5ae401a293870e3a (diff)
ci: use git-sdk-64-minimal build artifact
Instead of a shallow fetch followed by a sparse checkout, we are better off by using a separate, dedicated Pipeline that bundles the SDK as a build artifact, and then consuming that build artifact here. In fact, since this artifact will be used a lot, we spent substantial time on figuring out a minimal subset of the Git for Windows SDK, just enough to build and test Git. The result is a size reduction from around 1GB (compressed) to around 55MB (compressed). This also comes with the change where we now call `usr\bin\bash.exe` directly, as `git-cmd.exe` is not included in the minimal SDK. That reduces the time to initialize Git for Windows' SDK from anywhere between 2m30s-7m to a little over 1m. Note: in theory, we could also use the DownloadBuildArtifacts@0 task here. However, restricted permissions that are in effect when building from forks would let this fail for PR builds, defeating the whole purpose of the Azure Pipelines support for git.git. Signed-off-by: Johannes Schindelin <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'compat/mingw.c')
0 files changed, 0 insertions, 0 deletions