Am Donnerstag, den 23.02.2012, 11:16 +0100 schrieb Stephen Butler: > Why not do 1 & 3 in a post-commit hook?
In pre-commit things are already needed to be parsed to check if the commit itself is allowed. When doing those checks things can be prepared too for the external system - 2 in 1 ;-). So the parsing work have to be done at pre-commit and preparing can be done in this process too. In theory yes it would work to do the same thing again in post-commit - but pre-commit already did all the work before. Would be nice if there would be no need to parse and analyze things twice, may take time and resources depending on the commit size.
smime.p7s
Description: S/MIME cryptographic signature