Changes between Version 120 and Version 121 of DeveloperGuidelines/Git


Ignore:
Timestamp:
09/22/21 16:09:23 (4 months ago)
Author:
Fran Boon
Comment:

pre-commit inline

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Git

    v120 v121  
    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 {{{.git/hooks/pre-commit}}} should run {{{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{{{
     474#!/bin/sh; C:/Program\ Files/Git/usr/bin/sh.exe
     475
     476# Update VERSION
     477python version.py
     478
     479# Add the modified file to staging to include in the commit.
     480echo "VERSION" | xargs git add
     481exit 0
     482}}}
     483
    473484{{{.gitattributes}}} in the repo is set to keeplocal on merge
    474485