From 06bafdc4427dae4fd181ed9c9853b772a82fc9f1 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 16 Sep 2021 11:06:44 -0600 Subject: [PATCH] test --- bin/git/submodule-update-master-commit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/git/submodule-update-master-commit b/bin/git/submodule-update-master-commit index 84dae36..4c48bdf 100755 --- a/bin/git/submodule-update-master-commit +++ b/bin/git/submodule-update-master-commit @@ -1,5 +1,6 @@ #!/bin/zsh +echo hiya git submodule update --remote --rebase --init SUBMODULES=$(\ @@ -8,6 +9,8 @@ SUBMODULES=$(\ | sed 's/^.*modified:\s*//; s/\s*(new commits).*$//' \ ) +echo $SUBMODULES + [[ ${#SUBMODULES[@]} -gt 0 ]] && { git add $SUBMODULES git commit -m "Updated submodules to master : $SUBMODULES"