Skip to content

Commit

Permalink
g.extension: sparse checkout with history for fast commit log access (O…
Browse files Browse the repository at this point in the history
…SGeo#3051)

* checkout history

* sparse checkout history
  • Loading branch information
ninsbl authored and neteler committed Nov 7, 2023
1 parent 88462ac commit 7e79224
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/g.extension/g.extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _initialize_clone(self):
"clone",
"-q",
"--no-checkout",
"--filter=tree:0",
"--filter=blob:none",
self.url,
repo_directory,
],
Expand Down Expand Up @@ -2740,7 +2740,7 @@ def get_addons_paths(gg_addons_base_dir):
"-q",
"--no-checkout",
f"--branch={addons_branch}",
"--filter=tree:0",
"--filter=blob:none",
GIT_URL,
],
cwd=gg_addons_base_dir,
Expand Down
2 changes: 1 addition & 1 deletion utils/mkhtml.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def get_addon_path():
"-q",
"--no-checkout",
f"--branch={addons_branch}",
"--filter=tree:0",
"--filter=blob:none",
urlparse.urljoin(base_url, "grass-addons/"),
],
cwd=addons_base_dir,
Expand Down

0 comments on commit 7e79224

Please sign in to comment.