]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
newvers.sh: Speed up git_tree_modified
authorBrooks Davis <brooks@FreeBSD.org>
Thu, 17 Dec 2020 00:00:21 +0000 (00:00 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Thu, 17 Dec 2020 00:00:21 +0000 (00:00 +0000)
commit029ca1842fa44869a866faef0fb0da0ae82e3193
treef596ef10b28d7af1fe7f0d7ed0afaaa0f44fec8f
parentd8462732ce74ccaf077dac625168cfa75f4a3b7e
newvers.sh: Speed up git_tree_modified

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>
Reviewed by: bdrewery, emaste, imp
Obtained from: CheriBSD
MFC after: 3 days
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27646
sys/conf/newvers.sh