`pre-commit` gives a warning if your files are dirty. We should probably do the same in `subcommand_pre_commit`.