From: Oleg Broytman Date: Sat, 9 Oct 2021 12:28:08 +0000 (+0300) Subject: Fix(reinit-repos): Run `git init --bare` to reinit bare repos X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b9e9c4de76c091c87434ac9a3ea2b22776051d79;p=git-scripts.git Fix(reinit-repos): Run `git init --bare` to reinit bare repos --- 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