Added digest checking to githook