Skip to content

Commit 6b806f8

Browse files
Merge pull request #8008 from bandi13/fixFipsCheck
Fix '--depth=1' repos
2 parents bc68819 + 09b5362 commit 6b806f8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

fips-check.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ function copy_fips_files() {
334334
done
335335
}
336336

337+
# Check to make sure this is not a shallow repo
338+
$GIT fetch --unshallow 2>/dev/null
339+
337340
if ! $GIT clone . "$TEST_DIR"; then
338341
echo "fips-check: Couldn't duplicate current working directory."
339342
exit 1

0 commit comments

Comments
 (0)