Commit ee73630
authored
feat: Allow config cache for microsoft/git 2.53.0.vfs.0.1+ (#2296)
This is a small modification on top of #2268 that updates the Git
version check to allow using the cached list of config values when using
the latest microsoft/git release.
The 2.53.0.vfs.0.1 (and later) releases have microsoft/git#863 which
fast-tracked the upstream Git feature that enables this behavior.
Getting a GCM release with this version check will allow us to dogfood
this performance feature.
I expect that we'd want to release GCM with this feature and have users
manually install GCM from the GitHub releases page instead of waiting
for a new microsoft/git release that bundles it.
I have run the test suite with this branch with microsoft/git
v2.53.0.vfs.0.2 installed. I also tested by adding some thrown
exceptions in the logic that only activates when the Git version check
works, and that proved that the test suite _does_ cover these cases when
the right Git version exists.File tree
1 file changed
+31
-3
lines changed1 file changed
+31
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
| |||
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
345 | | - | |
346 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
347 | 350 | | |
348 | | - | |
| 351 | + | |
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
356 | 384 | | |
357 | 385 | | |
358 | 386 | | |
| |||
0 commit comments