Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is the official pull req. for the precommit script which checks for and adds header information as necessary.
Here is the information about it:
http://groups.google.com/group/thinkupapp/msg/281302a1d585f1ae?hl=en
In brief, the idea is that if the script finds and modifies any files that are missing header info, the commit does not go through, and the user checks the new mods to make sure things are okay and 'adds' those files again. The second commit should then complete.
I have tested it on osx, and it should run the same on linux. It does require that python be installed, of course.
I have not tested it on Windows, as I am not set up to easily do that.
However, setup is probably a bit different on Windows, in particular the content of the .git/hooks/pre-commit file (see link above). It would also be good to double check that there are no script path name issues in windows. [However, there should not be].
Would one of you be set up to do a windows test?