From: Oleg Broytman Date: Fri, 17 Apr 2020 11:32:15 +0000 (+0300) Subject: Feat(reinit): Split `reinit-all` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=21a01f2751147b6974688b63e5311d15ff81daee;p=git-scripts.git Feat(reinit): Split `reinit-all` --- diff --git a/reinit-all b/reinit-all deleted file mode 100755 index 8e825ab..0000000 --- a/reinit-all +++ /dev/null @@ -1,2 +0,0 @@ -#! /bin/sh -exec "`dirname \"$0\"`"/do-all git init diff --git a/reinit-recursive b/reinit-recursive new file mode 100755 index 0000000..eddb651 --- /dev/null +++ b/reinit-recursive @@ -0,0 +1,4 @@ +#! /bin/sh + +prog_dir="`dirname \"$0\"`" && +exec "$prog_dir"/run-recursive git init diff --git a/reinit-repos b/reinit-repos new file mode 100755 index 0000000..575bf94 --- /dev/null +++ b/reinit-repos @@ -0,0 +1,6 @@ +#! /bin/sh + +cd "`dirname \"$0\"`" && +prog_dir="`pwd`" && + +exec "$prog_dir"/run-repos "$prog_dir"/reinit-recursive