Retain all other information in a per-commit hook