[Cmake-commits] [cmake-commits] king committed CTestUpdateGIT.cmake.in 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Apr 23 09:10:11 EDT 2009


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv11391/Tests

Modified Files:
	CTestUpdateGIT.cmake.in 
Log Message:
BUG: Fix CTest.UpdateGIT test for older git

Older git versions do not support 'git init --bare', so we instead use
the more proper 'git --bare init'.


Index: CTestUpdateGIT.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestUpdateGIT.cmake.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CTestUpdateGIT.cmake.in	22 Apr 2009 13:19:06 -0000	1.1
--- CTestUpdateGIT.cmake.in	23 Apr 2009 13:10:07 -0000	1.2
***************
*** 32,36 ****
  run_child(
    WORKING_DIRECTORY ${TOP}/repo.git
!   COMMAND ${GIT} init --bare
    )
  file(REMOVE_RECURSE ${TOP}/repo.git/hooks)
--- 32,36 ----
  run_child(
    WORKING_DIRECTORY ${TOP}/repo.git
!   COMMAND ${GIT} --bare init
    )
  file(REMOVE_RECURSE ${TOP}/repo.git/hooks)



More information about the Cmake-commits mailing list