Explorar o código

Sort the output of list-git-modules

Samuel W. Flint %!s(int64=6) %!d(string=hai) anos
pai
achega
e745f53965
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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