mirror of
https://github.com/reactos/reactos.git
synced 2025-02-20 15:35:04 +00:00
[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:
parent
9ebf43567d
commit
71fba9dea1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue