summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/git.sh b/include/git.sh
index 6c5c2718..8af1f0d5 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -109,9 +109,6 @@ prep_submodules()
if [ -f "$mdir/module.list" ]; then
cat "$mdir/module.list" > "$tmpdir/modules" || \
$err "!cp $mdir/module.list $tmpdir/modules"
- elif [ -f "$tmpgit/.gitmodules" ]; then
- git -C "$tmpgit" submodule status | awk '{print $2}' > \
- "$tmpdir/modules" || $err "$mdir: cannot list submodules"
else
return 0
fi
@@ -141,9 +138,6 @@ fetch_submodule()
[ -d "$tmpgit/$1" ] && break
done
[ -d "$tmpgit/$1" ] || $err "!clone $mod $project $mcfgdir $1"
- else
- git -C "$tmpgit" submodule update --init --checkout -- "$1" \
- || $err "$mdir: !update $1"
fi
}