diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-07 16:50:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-07 16:50:35 -0200 |
commit | 1cde5d6f043cd3fb29ec4d60827c66e9a19ed405 (patch) | |
tree | c350c0e4b52f93f31218c9c1563aab79bcdee60e | |
parent | 80cd7e588430f56f52a294d5a715ed0eae6d5d21 (diff) | |
download | utils-git-1cde5d6f043cd3fb29ec4d60827c66e9a19ed405.tar.gz utils-git-1cde5d6f043cd3fb29ec4d60827c66e9a19ed405.tar.bz2 |
Note on find sorting at git-submodule-move-all-git-dirs
-rwxr-xr-x | git-submodule-move-all-git-dirs | 3 |
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 |