2ed535 Centralize git hook code

Authored and Committed by Pierre-Yves Chibon 10 years ago
    Centralize git hook code
    
    There was a lot of redundancy in the code used in the git hook, this is
    a first attempt at reducing it and potentially make it easier to test
    
        
file modified
+61 -0