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
Adding the `recursive` flag for `wt_status_collect_changes_index` allows the
diff function to recurse into sparse directories when differences occur within
them. This corrects the issue observed in the `read-tree` sparse compatibility
test in which particular merges resulted in a directory appearing as "modified"
for sparse index repositories, rather than showing only the modified file
within the directory.
The `recursive` flag, even with a non-sparse index, does not substantially
change the performance of `status`. From the `p2000` performance suite:
Test before after
------------------------------------------------------------------------
2000.2: git status (full-v3) 0.68(0.27+0.34) 0.64(0.26+0.33) -5.9%
2000.3: git status (full-v4) 0.68(0.27+0.35) 0.67(0.26+0.34) -1.5%
2000.4: git status (sparse-v3) 0.45(0.09+0.63) 0.45(0.10+0.74) +0.0%
2000.5: git status (sparse-v4) 0.45(0.09+0.62) 0.45(0.10+0.73) +0.0%
Signed-off-by: Victoria Dye <[email protected]>
0 commit comments