@@ -2579,7 +2579,7 @@ def run_check():
25792579 'tag' : 'tag_for_tests' ,
25802580 }
25812581 expected = '\n ' .join ([
2582- r' running command "git clone --branch refs/tags/tag_for_tests [email protected] :easybuilders/testrepository.git"' ,
2582+ r' running command "git clone --depth 1 -- branch refs/tags/tag_for_tests [email protected] :easybuilders/testrepository.git"' ,
25832583 r" \(in .*/tmp.*\)" ,
25842584 r' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"' ,
25852585 r" \(in .*/tmp.*\)" ,
@@ -2588,7 +2588,7 @@ def run_check():
25882588
25892589 git_config ['recursive' ] = True
25902590 expected = '\n ' .join ([
2591- r' running command "git clone --branch refs/tags/tag_for_tests --recursive [email protected] :easybuilders/testrepository.git"' ,
2591+ r' running command "git clone --depth 1 -- branch refs/tags/tag_for_tests --recursive [email protected] :easybuilders/testrepository.git"' ,
25922592 r" \(in .*/tmp.*\)" ,
25932593 r' running command "tar cfvz .*/target/test.tar.gz --exclude .git testrepository"' ,
25942594 r" \(in .*/tmp.*\)" ,
@@ -2608,7 +2608,7 @@ def run_check():
26082608 del git_config ['tag' ]
26092609 git_config ['commit' ] = '8456f86'
26102610 expected = '\n ' .join ([
2611- r' running command "git clone --recursive [email protected] :easybuilders/testrepository.git"' ,
2611+ r' running command "git clone --depth 1 --no-checkout [email protected] :easybuilders/testrepository.git"' ,
26122612 r" \(in .*/tmp.*\)" ,
26132613 r' running command "git checkout 8456f86 && git submodule update --init --recursive"' ,
26142614 r" \(in testrepository\)" ,
@@ -2619,7 +2619,7 @@ def run_check():
26192619
26202620 del git_config ['recursive' ]
26212621 expected = '\n ' .join ([
2622- r' running command "git clone [email protected] :easybuilders/testrepository.git"' ,
2622+ r' running command "git clone --depth 1 --no-checkout [email protected] :easybuilders/testrepository.git"' ,
26232623 r" \(in .*/tmp.*\)" ,
26242624 r' running command "git checkout 8456f86"' ,
26252625 r" \(in testrepository\)" ,
0 commit comments