Commit 063e9ef
Speed up getDocs clones with shallow, single-branch fetch
getDocs.js only needs a snapshot of each upstream repo's docs, but it
did a full clone (entire history, all branches). Add --depth 1 and
--single-branch so each clone transfers only the latest commit of the
default branch, cutting fetch time and bandwidth noticeably for the
larger source repositories.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Daniel Gerber <394442-gerbsen@users.noreply.gitlab.com>1 parent 32a9cd6 commit 063e9ef
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments