Directory sync's internal git worker was reworked with memoized checks and session-tagged 'kept' refs
The background worker that handles git operations for directory sync had its internal logic reshuffled. It now uses two new memoized (cached) helper functions to check whether a git "basis" (a known starting point) matches a given commit, or matches a given index and working-tree state, and a new function tags a git ref by session ID as "kept" before falling back to discarding a temporary index.
This is an internal restructuring of directory sync's git handling; the finding doesn't indicate a user-visible behavior change beyond how these checks are computed internally.