pre_commit signal

How about adding a pre-commit signal allowing to do things at the last moment before changes are committed?