last uncommitted changes before rewrite