mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-12 20:18:11 +00:00
fix: speedup git submodule update
with --single-branch
(#2847)
add --single-branch to submodule update commands for speed Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
@ -52,7 +52,7 @@ $(GRPC_REPO):
|
||||
git remote add origin $(GIT_REPO_LIB_GRPC) && \
|
||||
git fetch origin && \
|
||||
git checkout $(TAG_LIB_GRPC) && \
|
||||
git submodule update --init --recursive --depth 1
|
||||
git submodule update --init --recursive --depth 1 --single-branch
|
||||
|
||||
$(GRPC_BUILD): $(GRPC_REPO)
|
||||
mkdir -p $(GRPC_BUILD)
|
||||
|
Reference in New Issue
Block a user