[VERSION] Use --abbrev=7 for "git describe" to enforce a short hash of 7 characters no matter what the default is for your Git installation.

This commit is contained in:
Colin Finck 2017-10-04 20:44:52 +02:00
parent 9ebf43567d
commit 71fba9dea1

View file

@ -39,7 +39,7 @@ if(EXISTS "${REACTOS_SOURCE_DIR}/.git")
endif()
execute_process(
COMMAND "${GIT_EXECUTABLE}" describe
COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7
WORKING_DIRECTORY ${REACTOS_SOURCE_DIR}
OUTPUT_VARIABLE GIT_DESCRIBE_REVISION
RESULT_VARIABLE GIT_CALL_RESULT