https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ef8b17ed0d54e92589d0e…
commit ef8b17ed0d54e92589d0eae7e0954a3379e0776a
Author: Colin Finck <colin(a)reactos.org>
AuthorDate: Sat Feb 17 18:09:07 2018 +0100
Commit: Colin Finck <colin(a)reactos.org>
CommitDate: Sat Feb 17 18:09:07 2018 +0100
[CMAKE] Call "git describe" with the --long parameter to always output the
format we are used to.
---
sdk/include/reactos/version.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/include/reactos/version.cmake b/sdk/include/reactos/version.cmake
index ca0ceb4c9a..a585154556 100644
--- a/sdk/include/reactos/version.cmake
+++ b/sdk/include/reactos/version.cmake
@@ -39,7 +39,7 @@ if(EXISTS "${REACTOS_SOURCE_DIR}/.git")
endif()
execute_process(
- COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7
+ COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7 --long
WORKING_DIRECTORY ${REACTOS_SOURCE_DIR}
OUTPUT_VARIABLE GIT_DESCRIBE_REVISION
RESULT_VARIABLE GIT_CALL_RESULT