Skip to content
Open
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
3 changes: 3 additions & 0 deletions odoo_repository/lib/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ def _clone(self):
extra = {"env": git_env}
if self.workaround_fs_errors:
extra["separate_git_dir"] = str(tmp_git_dir_path)
# GitPython blocks '--separate-git-dir' since 3.1.59
# We must allow unsafe options to be able to use it,
extra["allow_unsafe_options"] = True
params = self._clone_params(**extra)
try:
git.Repo.clone_from(**params)
Expand Down
Loading