Descriptionlastchange: don't check git state for whether the tree is dirty
We don't show whether the tree was dirty for SVN.
Because lastchange runs on every build, these commands impact every
build. The call to "git checkout" makes git stat every file in the
repository (including ones unrelated to the build).
This change makes a Ninja build of Chrome 20% faster. I've seen the
command take tens of seconds on a cold disk, and it likely has a
larger impact on Windows where the disk is slower.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117352
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|