Skip to content

Commit b1978bf

Browse files
committed
preprocess: use partial clone
1 parent e7ab38b commit b1978bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

preprocess-zh.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ done
2323
set -e
2424

2525
if [[ "${UPSTREAM}" = "p12tic" ]]; then
26-
git clone https://github.com/p12tic/cppreference-doc.git --depth=1
26+
git clone https://github.com/p12tic/cppreference-doc.git --filter=tree:0
2727
cd cppreference-doc
2828
git apply -3 ../zh-p12tic.diff
2929
else
30-
git clone https://github.com/PeterFeicht/cppreference-doc.git --depth=1
30+
git clone https://github.com/PeterFeicht/cppreference-doc.git --filter=tree:0
3131
cd cppreference-doc
3232
git apply -3 ../zh.diff
3333
fi

0 commit comments

Comments
 (0)