Skip to content

Commit

Permalink
add vertical space to shallow gitmodules shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasLarson committed Oct 5, 2020
1 parent 9e46133 commit c25ad59
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .git-submodule.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
#!/usr/bin/env sh
#
#
#
# Shallow .gitmodules submodule installations
# Mauricio Scheffer https://stackoverflow.com/a/2169914
#
#
# place in the top of a Git repository and invoke with
# $ sh .git-submodule.sh


git submodule init
for i in $(git submodule | sed -e 's/.* //'); do
spath=$(git config --file .gitmodules --get submodule."$i".path)
Expand Down

0 comments on commit c25ad59

Please sign in to comment.