Repeated syncs on an unchanged repo are faster because two git commands are skipped.
What's wrong with this entry?
Taking a snapshot of your working tree now detects the case where everything is already clean and skips two git commands entirely, reusing the existing index instead. Repeated syncs on an untouched repo are faster.
- The
--refreshandwrite-treeinvocations are skipped when the clean condition holds. - The snapshot records the index tree it reused and whether the tree was clean.
indexStatClean: ae.length === 0
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.238
Sync state machine gains a moved-root case and a per-turn pull hook
Both mention directory
-
v2.1.238
Untracked-file survey extracted and shared
Both mention directory
-
v2.1.238
Sync internals reshaped around per-file credential state
Both mention directory