aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-submodule-move-all-git-dirs3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-submodule-move-all-git-dirs b/git-submodule-move-all-git-dirs
index 72e1aa3..fc92b66 100755
--- a/git-submodule-move-all-git-dirs
+++ b/git-submodule-move-all-git-dirs
@@ -21,7 +21,8 @@ fi
cd $FOLDER
-# Find returns innermost folders first
+# Find returns innermost folders first, which is essential for a
+# successful migration
find -type f -name .git | while read repo; do
folder="`dirname $repo`"
git-submodule-move-git-dir $folder