<div dir="ltr"><div><div>Hi Andrew,<br><br></div>I think I know what is going on :(. The .gitattributes files are the new way we are marking the data as large data for the script that creates the VTK tarballs (Utilities/Maintenance/SourceTarball.bash). Which files are large data used to be hardcoded in the script. It appears that CMake thinks they are data files and is making MD5s of them.</div><div><br></div><div>Brad & Ben,</div><div><br></div><div>Is there an easy way to tell VTK's CMake that the .gitattributes files aren't data?<br></div><div><br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 27, 2017 at 7:46 PM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">I did:</div><span class=""><div class="gmail_default" style="font-size:small"><div style="font-size:12.8px">git fetch origin master</div><div style="font-size:12.8px">git reset --hard FETCH_HEAD</div><div class="m_-2176693586238760183gmail-yj6qo m_-2176693586238760183gmail-ajU" style="font-size:12.8px"></div></div><div class="gmail_default" style="font-size:small"><br></div></span><div class="gmail_default" style="font-size:small">and everything looked Ok.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Then I removed the untracked files:</div><div class="gmail_default"><div class="gmail_default" style="font-size:small"> Testing/Data/MFIXReader/.<wbr>gitattributes.md5</div><div class="gmail_default" style="font-size:small"> Testing/Data/NetCDF/.<wbr>gitattributes.md5</div><div class="gmail_default" style="font-size:small"> Testing/Data/WindBladeReader/.<wbr>gitattributes.md5</div><div style="font-size:small"><br></div><div style="font-size:small">Then did <b><i>ninja-t clean, </i></b>re-ran CMake, and I am back to the same problem:</div><span class=""><div style="font-size:small">---------</div><div><div>$ git status</div><div>On branch master</div><div>Your branch is up-to-date with 'origin/master'.</div><div>Changes not staged for commit:</div><div> (use "git add/rm <file>..." to update what will be committed)</div><div> (use "git checkout -- <file>..." to discard changes in working directory)</div><div><br></div><div> deleted: Testing/Data/MFIXReader/.<wbr>gitattributes</div><div> deleted: Testing/Data/NetCDF/.<wbr>gitattributes</div><div> deleted: Testing/Data/WindBladeReader/.<wbr>gitattributes</div><div><br></div><div>Untracked files:</div><div> (use "git add <file>..." to include in what will be committed)</div><div><br></div><div> Testing/Data/MFIXReader/.<wbr>gitattributes.md5</div><div> Testing/Data/NetCDF/.<wbr>gitattributes.md5</div><div> Testing/Data/WindBladeReader/.<wbr>gitattributes.md5</div><div><br></div><div>no changes added to commit (use "git add" and/or "git commit -a")</div></div><div style="font-size:small"><br></div><div style="font-size:small">---------</div></span><div style="font-size:small">So I think there is an issue with these three md files.</div><div style="font-size:small"><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 8:15 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I often have extra files in my working directory (messy, I know) so to avoid erasing them, I explicitly fetch whatever I know my upstream to be, and then I reset my head and working directory to the fetch_head:<div><br></div><div>git fetch origin master</div><div>git reset --hard FETCH_HEAD</div><div><div class="m_-2176693586238760183h5"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 27, 2017 at 4:08 PM, Paul Dao <span dir="ltr"><<a href="mailto:xoviat@gmail.com" target="_blank">xoviat@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If the relevant changes are stored in commits, then:<div><br></div><div><b>git reset --hard</b></div><div><b>git clean -dfx</b></div><div><b>git pull upstream master</b></div><div><br></div><div>THIS WILL DELETE ALL UNCOMMITTED CHANGES!!!<br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-2176693586238760183m_-9040664938897506218m_-6778416609723247129h5">2017-09-27 17:04 GMT-05:00 Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-2176693586238760183m_-9040664938897506218m_-6778416609723247129h5"><div dir="ltr"><div style="font-size:small">Hi All,</div><div style="font-size:small"><br></div><div style="font-size:small">A <b><i>git pull --rebase</i></b> on the VTK Master fails because of these deleted/untracked files. Does anyone know how to fix this?</div><div style="font-size:small">Of course I can do a <b><i>git checkout --</i></b> on the deleted file but that does not fix the issue. The deleted/untracked files reappear.</div><div style="font-size:small"> </div><div style="font-size:small">The only change I have made is to include VTK Large Data.</div><div style="font-size:small"><br></div><div style="font-size:small">------------------------------<wbr>-</div><div><div>$ git status</div><div>On branch master</div><div>Your branch is up-to-date with 'origin/master'.</div><div>Changes not staged for commit:</div><div> (use "git add/rm <file>..." to update what will be committed)</div><div> (use "git checkout -- <file>..." to discard changes in working directory)</div><div><br></div><div> deleted: Testing/Data/MFIXReader/.gitat<wbr>tributes</div><div> deleted: Testing/Data/NetCDF/.gitattrib<wbr>utes</div><div> deleted: Testing/Data/WindBladeReader/.<wbr>gitattributes</div><div><br></div><div>Untracked files:</div><div> (use "git add <file>..." to include in what will be committed)</div><div><br></div><div> Testing/Data/MFIXReader/.gitat<wbr>tributes.md5</div><div> Testing/Data/NetCDF/.gitattrib<wbr>utes.md5</div><div> Testing/Data/WindBladeReader/.<wbr>gitattributes.md5</div><div><br></div><div>no changes added to commit (use "git add" and/or "git commit -a")</div><div style="font-size:small"><div>------------------------------<wbr>-</div><span class="m_-2176693586238760183m_-9040664938897506218m_-6778416609723247129m_3038524280434065219HOEnZb"><font color="#888888"><div></div></font></span></div></div><span class="m_-2176693586238760183m_-9040664938897506218m_-6778416609723247129m_3038524280434065219HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-2176693586238760183m_-9040664938897506218m_-6778416609723247129m_3038524280434065219m_-5235112319164515600gmail_signature">______________________________<wbr>_____________<br>Andrew J. P. Maclean<br><br>______________________________<wbr>_____________</div>
</font></span></div>
</div></div></blockquote></div></div></div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-2176693586238760183gmail_signature" data-smartmail="gmail_signature">______________________________<wbr>_____________<br>Andrew J. P. Maclean<br><br>______________________________<wbr>_____________</div>
</div>
</div></div><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
<br>
<br></blockquote></div><br></div>