Macadamian/titanium_mobile — pull request #44 by jpl-mac (2012-05-03 01:22:13+00:00)
Title: Switch to astyle for formatting

Changelog:
- Switch formatting to use astyle insteag of cdt formatter which was giving unpredictable results
- Add a pre-commit file to be copied in the .git/hooks folder to trigger formatting on commits
- Also veryfy for non ascii filenames in the same pre-commit script
- updated the formatting of the whole project so future commits will only format new and changed code

Tests:
- tested script with astyle missing, verified the commit aborts and the relevant message is displayed
- tested that unstaged changes are kept unstaged
- verified that the formatting happens correctly precommit