From 21a01f2751147b6974688b63e5311d15ff81daee Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 17 Apr 2020 14:32:15 +0300 Subject: [PATCH] Feat(reinit): Split `reinit-all` --- reinit-all | 2 -- reinit-recursive | 4 ++++ reinit-repos | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) delete mode 100755 reinit-all create mode 100755 reinit-recursive create mode 100755 reinit-repos 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 -- 2.39.5