[vtk-developers] git trailing whitespace check and 3rd party code

Brad King brad.king at kitware.com
Tue Oct 18 19:28:37 EDT 2011


On 10/18/2011 6:10 PM, Sean McBride wrote:
> I'm updating freetype in VTK from 2.4.4 to 2.4.7, but am running
> afoul of the git hook that checks for trailing whitespace.
> 
> Can this be disabled for all 3rd party code in VTK?

What files are rejected?  That check is disabled for most
source file types in VTK already:

 http://vtk.org/gitweb?p=VTK.git;a=blob;f=.gitattributes;hb=HEAD

Note the "-blank-at-eol" value in the whitespace attributes.

-Brad



More information about the vtk-developers mailing list