mirror of
https://github.com/reactos/reactos.git
synced 2025-07-25 02:43:43 +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()
|
endif()
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND "${GIT_EXECUTABLE}" describe
|
COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7
|
||||||
WORKING_DIRECTORY ${REACTOS_SOURCE_DIR}
|
WORKING_DIRECTORY ${REACTOS_SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE GIT_DESCRIBE_REVISION
|
OUTPUT_VARIABLE GIT_DESCRIBE_REVISION
|
||||||
RESULT_VARIABLE GIT_CALL_RESULT
|
RESULT_VARIABLE GIT_CALL_RESULT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue