Force the identity test suite to run as a pre-commit hook when editing
files from that directory.
This can take ~1s for a dirty repository, up to ~40s for a clean build.
bash -c had to be used, because it looks like they fork + exec the command, which means that you need a valid interpreter as the command. cd is just a shell builtin and only exists in the context of an interpreter shell.