[cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

Brad King brad.king at kitware.com
Tue Feb 22 16:15:32 EST 2011


On 02/22/2011 04:04 PM, Johan Björk wrote:
> Just for future patches, any reason you choose to use RunChild instead
> of RunSingleCommand? 
> I'll try it this week.

Specifically inside of cmCTestGIT we use RunChild because it logs everything
that is done during the update.  Furthermore the RunSingleCommand call you
wrote didn't work when the path to "git" has spaces because you didn't quote
it inside the string.

-Brad



More information about the cmake-developers mailing list