From 373ddac69e8f94b8fc7731f67259ef8934caa6f2 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 19 Jan 2011 18:44:05 -0800 Subject: uhd: limit the git log to 1 entry when extracting version info --- host/Modules/UHDVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/Modules') diff --git a/host/Modules/UHDVersion.cmake b/host/Modules/UHDVersion.cmake index 1db75e906..c22286d59 100644 --- a/host/Modules/UHDVersion.cmake +++ b/host/Modules/UHDVersion.cmake @@ -34,7 +34,7 @@ IF(GIT_FOUND) #grab the git log entry for the current head EXECUTE_PROCESS( WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMAND ${GIT_EXECUTABLE} log HEAD~..HEAD --date=raw + COMMAND ${GIT_EXECUTABLE} log HEAD~..HEAD --date=raw -n1 OUTPUT_VARIABLE _git_log OUTPUT_STRIP_TRAILING_WHITESPACE ) -- cgit v1.2.3