File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ version = "0.5.3"
55
66[deps ]
77AbstractTrees = " 1520ce14-60c1-5f80-bbc7-55ef81b5835c"
8+ Git = " d7ba0133-e1db-5d97-8f8c-041e4b3a1eb2"
89Gumbo = " 708ec375-b3d6-5a57-a7ce-8257bf98657a"
910HypertextLiteral = " ac1192a8-f4b3-4bfe-ba22-af5b92cd3ab2"
1011JSON = " 682c06a0-de6a-54ab-a142-c8b1cf79cde6"
@@ -13,6 +14,7 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1314
1415[compat ]
1516AbstractTrees = " 0.4"
17+ Git = " 1"
1618Gumbo = " 0.8.2"
1719HypertextLiteral = " 0.9"
1820JSON = " 0.20,0.21"
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ module MultiDocumenter
22
33import Gumbo, AbstractTrees
44using HypertextLiteral
5+ import Git: git
56
67"""
78 SearchConfig(index_versions = ["stable"], engine = MultiDocumenter.FlexSearch, lowfi = false)
@@ -170,7 +171,9 @@ function maybe_clone(docs::Vector{MultiDocRef})
170171 for doc in docs
171172 if ! isdir (doc. upstream)
172173 @info " Upstream at $(doc. upstream) does not exist. `git clone`ing `$(doc. giturl) #$(doc. branch) `"
173- run (` git clone --depth 1 $(doc. giturl) --branch $(doc. branch) --single-branch $(doc. upstream) ` )
174+ run (
175+ ` $(git ()) clone --depth 1 $(doc. giturl) --branch $(doc. branch) --single-branch $(doc. upstream) ` ,
176+ )
174177 end
175178 end
176179end
You can’t perform that action at this time.
0 commit comments