On Fri, 2016-01-15 at 11:37 -0500, Jean-Christophe Fillion-Robin wrote: > > The existence of <gitHome>\bin is there only for backward > -compatibility > > I guess we could also add "Git/usr/bin" to the suffixes so that it > prefer newer version first ? > > PATH_SUFFIXES Git/usr/bin Git/cmd Git/bin
I'm not sure which command you're looking for? git.exe exists only in Git/bin (old-style) and Git/cmd. Where both exist they'll have exactly the same version of git.exe in them. I think using Git/cmd only to find git.exe is fine; I'm pretty sure it's always existed there even in older releases of Git for Windows, an d will continue to do so going forward. You definitely don't need Git/usr/bin unless you want to find all the UNIX tools. Git.exe is not there. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers