This directory contains scripts for filtering source files when
commiting or checking-out these files with GIT.

To use these scripts, add the following settings in .git/config:

------------------------------------------
[filter "cleanup-c"]
        clean = ./tools/code_cleanup
        smudge = cat
[filter "cleanup-code"]
        clean = ./tools/code_cleanup
        smudge = cat
[filter "cleanup-text"]
        clean = ./tools/code_cleanup
        smudge = cat
[filter "cleanup-yorick-makefile"]
        clean = ./tools/ymk_cleanup
        smudge = cat
------------------------------------------

and add the following rules in .gitattributes:

------------------------------------------
*.[hc]     filter=cleanup-code
*.i        filter=cleanup-text
README     filter=cleanup-text
TODO       filter=cleanup-text
AUTHORS    filter=cleanup-text
NEWS       filter=cleanup-text
configure  filter=cleanup-text
Makefile   filter=cleanup-yorick-makefile
------------------------------------------
