pre commit hook not all its cracked up to be