Skip to content

Commit 6b0df77

Browse files
authored
Use --depth 1 to download less data (#2135)
`cpython` module only requires the latest commit to be able to build. Using --depth 1 downloads only that commit in particular without the full history of the repository which is _big_
1 parent 91757ed commit 6b0df77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ build: setup
6161
.PHONY: setup
6262
setup: venv
6363
git submodule sync
64-
git submodule update --init --force $(CPYTHON_PATH)
64+
git submodule update --init --force --depth 1 $(CPYTHON_PATH)
6565

6666

6767
# venv: create a virtual environment which will be used by almost every

0 commit comments

Comments
 (0)