From 642e4aff85b6bbf5e63a8cc4f447053895fcc6cd Mon Sep 17 00:00:00 2001 From: Luis Date: Tue, 14 Mar 2023 06:55:18 +0000 Subject: [PATCH] portsync: clone faster adding depth 1 --- portsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portsync b/portsync index 0821816..d246410 100755 --- a/portsync +++ b/portsync @@ -93,7 +93,7 @@ sync_repo() { echo "fetching ports: $1" # cloning ports repository - git clone -q -b $branch $url $tmprepo || { + git clone --depth 1 -q -b $branch $url $tmprepo || { echo " failed sync repo" exit 1 }