<div dir="ltr"><font face="arial, helvetica, sans-serif">So I'm new around here and I've written a new class that I'd like to get onto Gitlab. (I'm also new to Git) If anyone could help me I'd greatly appreciate it. Here goes...</font><div><font face="arial, helvetica, sans-serif"><br></font><div><font face="arial, helvetica, sans-serif">1.) I've gone through the process laid out here <a href="https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/develop.md">https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/develop.md</a>.</font></div><div><span style="font-family:arial,helvetica,sans-serif">2.) I've created a local clone of VTK</span><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">3.) Everything checks out when I run <span style="background-color:transparent;color:inherit;font-size:inherit">./Utilities/SetupForDevelopment.sh.  </span></font></div><div><font face="arial, helvetica, sans-serif">4.) I have forked VTk into my Namespace on gitlab</font></div><div><span style="font-family:arial,helvetica,sans-serif">5.) I've created a new topic/branch</span><br></div><div><font face="arial, helvetica, sans-serif">6.) I added my .cxx and my .h file into the appropriate folder (then add using $git add)</font></div><div><font face="arial, helvetica, sans-serif">7.) I also modify the CMakelists.txt file (I add it too)</font></div><div><font face="arial, helvetica, sans-serif">7.) when I run $git commit I get the following</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><div>Jon@Arnie MINGW64 ~/VTK (Implement_vtkInteractorStyleDrawPolygonType2)</div><div>$ git commit</div><div>pre-commit hook failure</div><div>-----------------------</div><div><br></div><div>Interaction/Style/vtkInteractorStyleDrawPolygonType2.cxx:66: trailing whitespace.</div><div>+</div><div>Interaction/Style/vtkInteractorStyleDrawPolygonType2.cxx:75: tab in indent.</div><div>+       //draw a circle at nodes</div><div>Interaction/Style/vtkInteractorStyleDrawPolygonType2.cxx:76: tab in indent.</div><div>+       for(int j = 1; j < 30; j += 1)</div><div>Interaction/Style/vtkInteractorStyleDrawPolygonType2.cxx:77: tab in indent.</div><div>+       {</div><div>Interaction/Style/vtkInteractorStyleDrawPolygonType2.cxx:78: tab in indent.</div><div>+               for (int dotRad = 0; dotRad <= 3; dotRad += 1)</div><div>Interaction/Style/vtkInteractorStyleDrawPolygonType2.cxx:79: tab in indent.</div></div><div>.</div><div>.</div><div>.</div><div><br></div><div>until it reaches the end of the .cxx and the .h file then it just ends no mention of the .txt file.</div><div><br></div><div>I tried pushing it and it sends the branch but the new files aren't there.  I'm assuming it has something to do with the pre-commit hook failure.  </div><div><br></div><div>running $git status I get the following</div><div><br></div><div><div>Jon@Arnie MINGW64 ~/VTK (Implement_vtkInteractorStyleDrawPolygonType2)</div><div>$ git status</div><div>On branch Implement_vtkInteractorStyleDrawPolygonType2</div><div>Changes to be committed:</div><div>  (use "git reset HEAD <file>..." to unstage)</div><div><br></div><div>        new file:   Interaction/Style/vtkInteractorStyleDrawPolygonType2.cxx</div><div>        new file:   Interaction/Style/vtkInteractorStyleDrawPolygonType2.h</div><div><br></div><div>Changes not staged for commit:</div><div>  (use "git add <file>..." to update what will be committed)</div><div>  (use "git checkout -- <file>..." to discard changes in working directory)</div><div><br></div><div>        modified:   Interaction/Style/CMakeLists.txt</div></div><div> .</div><div>.</div><div>.</div><div><br></div><div>running $git prepush it just returns no information is given.</div><div><br></div><div>The next thing I intend to do is restore the CMakelist.txt change and see if that fixes the problem.</div><div> <br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>