mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	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'
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user