Browse Source

Sort the output of list-git-modules

Samuel W. Flint 6 years ago
parent
commit
e745f53965
1 changed files with 2 additions and 1 deletions
  1. 2 1
      list-git-modules

+ 2 - 1
list-git-modules

@@ -3,5 +3,6 @@
 if [[ -e .gitmodules ]] ; then
     cat .gitmodules | \
         grep "^\[.*\]$" | \
-        sed "s/\[submodule \"\\(.*\\)\"\]/\1/g"
+        sed "s/\[submodule \"\\(.*\\)\"\]/\1/g" | \
+        sort
 fi