From: Oleg Broytman Date: Tue, 6 Feb 2024 22:28:26 +0000 (+0300) Subject: Docs(unabsorbgitdirs): Add a link to StackOverflow X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=commitdiff_plain;h=d0b7069978809fa7b3aef789586438681cd2ab24 Docs(unabsorbgitdirs): Add a link to StackOverflow This is where these scripts originated. --- diff --git a/submodules/unabsorbgitdirs b/submodules/unabsorbgitdirs index 76d1c40..53cd46d 100755 --- a/submodules/unabsorbgitdirs +++ b/submodules/unabsorbgitdirs @@ -1,4 +1,5 @@ #! /bin/sh +# See https://stackoverflow.com/a/77950870/7976758 set -e # To the top-level directory of the current submodule diff --git a/submodules/unabsorbgitdirs-recursive b/submodules/unabsorbgitdirs-recursive index f7427fc..bd1f10d 100755 --- a/submodules/unabsorbgitdirs-recursive +++ b/submodules/unabsorbgitdirs-recursive @@ -5,6 +5,7 @@ # because it doesn't fix childrens' gitlinks. # So the script runs recursion itself; # it can be run with `git submodule foreach` without `--recursive`. +# See https://stackoverflow.com/a/77950870/7976758 set -e START_DIR="`pwd`"