>> Would it be possible to set up an svn-commit-hook to reject files
>> that contain tabs? Or even to run indent...

> Don't know.
> And the kicker here is Makefiles - I periodically get caught out by
> me editor converting all the tabs into spaces in my Makefile.
> In the make syntax, tab has a specific meaning, so spaces don't hack
> it there...

A quick web search threw up this article:
http://wordaligned.org/articles/a-subversion-pre-commit-hook

 "Here, then, is a pre-commit hook to ban the TAB character from C++
  source files. Test it using the --revision option. Command line help
  is available using --help."

As it stands, it only checks for tabs in .cpp .cxx .h files, but that
can easily be changed. I wonder whether it can be limited to fltk3...

Presumably though, even if there's a majority in favour of this, we
would still need Mike to install it

D.
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to