diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-08 14:50:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-08-08 14:50:10 +0100 |
commit | 27a17847f923a85145f29caa817356fb8e9a5a67 (patch) | |
tree | 5950f668c58557bb4bd7a33fe128884d67c97fdb /CMakeLists.txt | |
parent | 22e6e9829f8fbe515661c0648233a4c106f1420b (diff) | |
download | rspamd-27a17847f923a85145f29caa817356fb8e9a5a67.tar.gz rspamd-27a17847f923a85145f29caa817356fb8e9a5a67.zip |
Remove git id support as it is bad actually.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a25183305..8a87aff71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -998,15 +998,6 @@ ELSE(HG) STRING(REGEX MATCH "node: [0-9a-z]+" _tmp "${HG_ID}") STRING(SUBSTRING "${_tmp}" 6 12 ID) ENDIF(HG_ID) - ELSE(HG_ARCH) - # Maybe this is git copy - FIND_PROGRAM(GIT "git") - IF(GIT) - EXECUTE_PROCESS(COMMAND "${GIT}" --git-dir=${CMAKE_SOURCE_DIR}/.git branch -v OUTPUT_VARIABLE GIT_ID ERROR_QUIET) - IF(GIT_ID) - STRING(REGEX REPLACE "^. [0-9a-z]+ ([0-9a-f]+) .*" \\1 ID "${GIT_ID}") - ENDIF(GIT_ID) - ENDIF(GIT) ENDIF(HG_ARCH) ENDIF(HG) |