Repository navigation
Commit 1004268
committed
perf(git): batch context-store index writes on isomorphic-git 1.44.2
The store's per-file add/remove loop forced one index write per path;
array-form add/remove stage everything inside one acquire and keep the
on-error net state (nothing staged) identical via the same reset path.
Multiple add failures now surface as MultipleGitError instead of the
first error; the surrounding catch is type-agnostic.1 parent a43b592 commit 1004268
2 files changed
Lines changed: 10 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1332 | 1332 | | |
1333 | 1333 | | |
1334 | 1334 | | |
1335 | | - | |
1336 | | - | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
1337 | 1342 | | |
1338 | | - | |
| 1343 | + | |
1339 | 1344 | | |
1340 | | - | |
| 1345 | + | |
1341 | 1346 | | |
1342 | 1347 | | |
1343 | 1348 | | |
| |||
0 commit comments