THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#272 - Whitespace cleanup
User who did this - Christoph GrĂ¼ninger (gruenich)
----------
The commit hook is enabled for dumux and dumux-lecture. This means, you are no
longer allowed to commit source files with
- trailing whitespace in files that match the regular expression
'.*(Makefile.am|configure.ac|dune.module|README|README.SVN|COPYING|INSTALL|TODO|\.pc\.in)$'
- tabs in files that match the regular expression
'.*(\.cpp|\.hpp|\.cc|\.hh|\.c|\.h|\.cmake|CMakeLists.txt)$'
If you try anyway, you cannot commit but get an error message instead.
For more details have a look into dune-common/bin/git-whitespace-hook.
All trailing whitespace and tabs have been removed from source files. The same
will be done this weekend in dumux-devel. Please commit before Friday at
midnight or you might be hit by merge conflicts.
Or you can remove the whitespace in your code by yourself.
For tabs:
find . -name '*.hh' ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv
/tmp/e "$0"' {} \;
find . -name '*.cc' ! -type d -exec bash -c 'expand -t 4 "$0" > /tmp/e && mv
/tmp/e "$0"' {} \;
For trailing whitespace:
find . -name '*.hh' | xargs sed -i 's/[ \t]*$//'
find . -name '*.cc' | xargs sed -i 's/[ \t]*$//'
----------
More information can be found at the following URL:
http://www.dumux.org/flyspray/index.php?do=details&task_id=272#comment633
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux