From b9e9c4de76c091c87434ac9a3ea2b22776051d79 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 9 Oct 2021 15:28:08 +0300 Subject: [PATCH] Fix(reinit-repos): Run `git init --bare` to reinit bare repos --- reinit-recursive | 4 ---- reinit-repos | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100755 reinit-recursive diff --git a/reinit-recursive b/reinit-recursive deleted file mode 100755 index eddb651..0000000 --- a/reinit-recursive +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/sh - -prog_dir="`dirname \"$0\"`" && -exec "$prog_dir"/run-recursive git init diff --git a/reinit-repos b/reinit-repos index 575bf94..a759691 100755 --- a/reinit-repos +++ b/reinit-repos @@ -3,4 +3,5 @@ cd "`dirname \"$0\"`" && prog_dir="`pwd`" && -exec "$prog_dir"/run-repos "$prog_dir"/reinit-recursive +"$prog_dir"/run-workdirs "$prog_dir"/run-recursive git init && +exec "$prog_dir"/run-bare-repos git init --bare -- 2.39.5