commit | e5dfa0cbecfcb18a2d85fa56a8f9dda74b2d7c5f | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Thu Nov 10 14:35:39 2016 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Tue Feb 07 16:35:26 2017 -0800 |
tree | fbc06ae99576b0413cac30798e8de00312d73199 | |
parent | 2da57d18d554a8f3cc27a39d500e26bd4869c120 [diff] |
Support restat when rebuilding manifest As a fix for #874, we started reloading the entire manifest even if the manifest was never rebuilt due to a restat rule. But this can be slow, so call State::Reset instead, which also fixes the original crash. Fixes #987 Test: replicate original crash, test with this change Test: do a build that rebuilds manifest, ensure it reloads Test: do a build that uses restat, verify that it's faster Change-Id: Ifeada4afa1717a3691f2e787d1135c0489864629