[Dune-devel] Queries on how to enforce not using tabs when commiting with dunecontrol.

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Sat Jul 27 19:40:28 CEST 2013


Hi Xiaoxue,
this might help you getting started:
http://users.dune-project.org/projects/dune-pdelab/wiki/Whitespace_Checks_in_Git

You want to use a pre-commit hook to check the whitespace.
But you still have to replace tabs and trailing whitespace
yourself. The hook only prevents you from committing
code that does not conform to the rules.

Hope that helps
Christoph 

-- 
Die meisten Gebäude stammen aus einer Zeit, in der man auch 
Türklinken aus Beton gemacht hätte, wenn das denn ginge.
[Spiegel Online, 25. Februar 2013]
********************************************
CMWR 2014: 9th - 13th June 2014 in Stuttgart
         Please visit www.cmwr14.de
********************************************




More information about the Dune-devel mailing list