• Brad King's avatar
    ctest_update: Support ".git file" work trees · 7bf8dc1a
    Brad King authored
    Commit c3781efb (Support Git upstream branch rewrites, 2010-06-08)
    assumed that ".git/FETCH_HEAD" exists inside the source tree.  Fix the
    implementation to handle a work tree using a ".git file" to link to its
    repository.  Use "git rev-parse --git-dir" to locate the real .git dir.
CTestUpdateGIT.cmake.in 8.56 KB