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:
Dave 2024-07-13 16:32:25 -04:00 committed by GitHub
parent 6ba730d7f8
commit 405794d4ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

View file

@ -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)