git.sh: merge patch_submodules in prep_submodules

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-22 18:01:39 +01:00
parent a41633306a
commit c3e1aa343a
1 changed files with 0 additions and 5 deletions

View File

@ -118,11 +118,6 @@ prep_submodules()
[ ! -f "$tmpgit/.gitmodules" ] || git -C "$tmpgit" submodule \
update --init --checkout || $err "git_prep $1: !submod"
patch_submodules
}
patch_submodules()
{
mdir="${PWD}/config/submodule/$project"
[ -n "$tree" ] && mdir="$mdir/$tree"