llvm.org GIT mirror llvm / f3dc328
CMake: Silence more stderr when running git. It can confuse bots collecting errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301934 91177308-0d34-0410-b5e6-96231b3b80d8 Tim Northover 2 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3232 execute_process(COMMAND ${git_executable} rev-parse --git-dir
3333 WORKING_DIRECTORY ${SOURCE_DIR}/cmake
3434 RESULT_VARIABLE git_result
35 OUTPUT_VARIABLE git_dir)
35 OUTPUT_VARIABLE git_dir
36 ERROR_QUIET)
3637 if(git_result EQUAL 0)
3738 # Try to get a ref-id
3839 string(STRIP "${git_dir}" git_dir)