Commit unfinished changes before rewrite.