From 3a5143452877414f7868a7908c3cc7cca5c6a66a Mon Sep 17 00:00:00 2001 From: Martchus Date: Fri, 9 Jun 2023 18:01:09 +0200 Subject: [PATCH] Clone repos with symlinks enabled --- sync-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-all.sh b/sync-all.sh index e2f4a14..7235ed1 100755 --- a/sync-all.sh +++ b/sync-all.sh @@ -24,7 +24,7 @@ for dir in "${!repo_names[@]}"; do [[ -d ../$dir/.git ]] && continue echo "==> Cloning $dir" repo=${repo_names[$dir]:-$dir} - git -C .. clone "git@github.com:Martchus/$repo.git" "$dir" + git -C .. clone -c core.symlinks=true "git@github.com:Martchus/$repo.git" "$dir" done # ensure all repositories are up-to-date