record status of the altered files and reexamine before --revert