Commit 0a26275fe182db5175d613f1525905f45d37a4bf

Stefan Sperling 2022-01-03T11:11:06

use 'gotadmin pack' instead of 'git repack' if testing with GOT_TEST_PACK

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/regress/cmdline/common.sh b/regress/cmdline/common.sh
index c0b2732..bf70684 100644
--- a/regress/cmdline/common.sh
+++ b/regress/cmdline/common.sh
@@ -46,7 +46,7 @@ maybe_pack_repo()
 {
 	local repo="$1"
 	if [ -n "$GOT_TEST_PACK" ]; then
-		(cd $repo && git repack -a -q)
+		(cd $repo && gotadmin pack -a > /dev/null)
 	fi
 }