Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions odoo_repository/lib/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,11 @@ def sync(self, fetch=True):
if self.is_cloned and self.new_repo_name and self.new_repo_url:
with self.repo() as repo:
self._set_git_remote_url(repo, self.new_repo_name, self.new_repo_url)
# Also enable the partialclonefilter option as the initial remote
with repo.config_writer() as writer:
writer.set_value(
f"remote.{self.new_repo_name}", "partialclonefilter", "tree:0"
)
return res

def scan(self, addons_path=".", target_addons_path=".", module_names=None):
Expand Down
Loading