diff --git testutils/ptest2/src/main/resources/source-prep.vm testutils/ptest2/src/main/resources/source-prep.vm index 58207312fc45430822aa2be73c53b9523aa02ef5..d8dd202d9ed40355def70d0e81ff61189f39a131 100644 --- testutils/ptest2/src/main/resources/source-prep.vm +++ testutils/ptest2/src/main/resources/source-prep.vm @@ -80,6 +80,8 @@ cd $workingDir/ fi rm -rf ../yetus mkdir ../yetus + #Wait until git gc finishes in the background before proceeding: + while ! git gc 2>/dev/null; do sleep 1s ; done cp -R . ../yetus mkdir $logDir/yetus patchCommandPath=$workingDir/scratch/smart-apply-patch.sh