• Florian Walch's avatar
    CMake: Force use of project directory to look for Git data. · 90909e93
    Florian Walch authored
    Before this change, building Neovim would recursively search parent
    directories for a .git directory. If Neovim was downloaded as a tarball
    (i.e. without a .git directory), but placed in a subdirectory of
    a Git repository, this caused a CMake error. Such a situation could
    occur when packaging Neovim, for example.
    
    Unfortunately, the previous attempt in #3317 did not fix this problem.
    90909e93
GetGitRevisionDescription.cmake 4.78 KB