summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-17 16:32:21 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-17 16:32:21 +0100
commit2839feb9e43e44dd3f8ecbc2398dae8c0e78f3d0 (patch)
treead125c54fc8da1b95c67731854fc05b403746ef4
parent410fa702c9cf3b107b5e92379ace85e05c06603a (diff)
git.sh: make git_prep command clearer
the "u" argument can actually be any thing. git_prep handles git submodules only for single-tree projects, under any candition, or on multi-tree projects if the number of arguments to git_prep is above four. "u" is the 5th argument, meant to enable submodule downloads. it really doesn't matter what this string says, so let's just make it as clear as possible. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/git.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git.sh b/include/git.sh
index a30d3aa4..22c8ee70 100644
--- a/include/git.sh
+++ b/include/git.sh
@@ -15,7 +15,7 @@ fetch_targets()
printf "Creating %s tree %s\n" "$project" "$tree"
git_prep "$loc" "$loc" "$xbmkpwd/$configdir/$tree/patches" \
- "src/$project/$tree" u
+ "src/$project/$tree" with_submodules
nuke "$project/$tree" "$project/$tree"
}