neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit ca3bc56a3b1b3454498a4a23c0d700486d554077
parent 5dcf544f8a879eaac29ee7cfc9eee6f0e027415f
Author: Biswapriyo Nath <nathbappai@gmail.com>
Date:   Sun,  5 Mar 2023 23:20:25 +0530

build: silence git describe error output

This change will silence the warning from git describe command when the project
is built using source tarball. The warning is
fatal: not a git repository: 'neovim/.git'
Diffstat:
Mcmake/GenerateVersion.cmake | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cmake/GenerateVersion.cmake b/cmake/GenerateVersion.cmake @@ -5,6 +5,7 @@ execute_process( COMMAND git --git-dir=${NVIM_SOURCE_DIR}/.git --work-tree=${NVIM_SOURCE_DIR} describe --first-parent --dirty --always OUTPUT_VARIABLE GIT_TAG OUTPUT_STRIP_TRAILING_WHITESPACE + ERROR_QUIET RESULT_VARIABLE RES) if(RES)