Page MenuHomeFreeBSD

newvers.sh: Speed up git_tree_modified
ClosedPublic

Authored by brooks on Dec 16 2020, 9:22 PM.

Details

Summary

We're looking for file content differences, so ask the question of git
more directly. This helps a lot, saving tens of thousands of fork()s,
when the builder and editor see different stat() results (e.g., UIDs),
as they might with containers.

Submitted by: Nathaniel Wesley Filardo <nwf20@cl.cam.ac.uk>

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks created this revision.
This revision is now accepted and ready to land.Dec 16 2020, 9:25 PM

The old diff-index comes from rS197334 and had many tweaks to address bugs.

I think this change looks good.

This revision was automatically updated to reflect the committed changes.