[Paraview-developers] Git pre-commit error

Brad King brad.king at kitware.com
Tue Apr 27 14:00:08 EDT 2010


Corey McBride wrote:
> When I issue the "git commit" command I get the following error:
> 
> .git/hooks/pre-commit: line 64: syntax error near unexpected token `;;'
> .git/hooks/pre-commit: line 64: `        *.c)        check_tab "$file" ;;'
> 
> Any ideas?

It seems to be a limitation of that shell.  I've pushed out a workaround.
Follow the instructions here:

  http://www.vtk.org/Wiki/VTK/Git#Hooks

to update your hooks.

-Brad


More information about the Paraview-developers mailing list