Changes between Version 119 and Version 120 of DeveloperGuidelines/Git


Ignore:
Timestamp:
09/20/21 18:40:03 (4 months ago)
Author:
Fran Boon
Comment:

pre-commit

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Git

    v119 v120  
    470470Install [http://sourceforge.net/projects/console/ Console] & [http://www.sourcegear.com/diffmerge/downloads.php Diffmerge] & [http://markembling.info/2009/09/my-ideal-powershell-prompt-with-git-integration configure Powershell].
    471471=== Developer Tools ===
    472 {{{.gitattributes}}} runs {{{version.py}}} to update the {{{VERSION}}} file on commit
     472{{{.git/hooks/pre-commit}}} should run {{{version.py}}} to update the {{{VERSION}}} file on commit
     473{{{.gitattributes}}} in the repo is set to keeplocal on merge
    473474
    474475Possibly we could add a pre-commit hook to run tests, e.g. based on http://tech.yipit.com/2011/11/16/183772396/ or http://blog.penzilla.net/2011/09/git-pre-commit-hook-for-python-now-with.html