You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0ff2742
Browse filesBrowse the repository at this point in the historyBrowse files
perf(server): sort the working-tree file list once per status read
The local status read sorted the numstat files, appended files that
have no numstat (untracked paths), then sorted the whole list again.
The final sort alone gives the same order, so drop the first one.
The new test spies on Array sort calls during a status read with
tracked text, binary and untracked files. It checks the returned files
and totals, and that the file list is sorted in one pass. On main it
sees two passes ([5, 3]).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments