diff options
-rw-r--r-- | lib/portage/sync/modules/git/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/portage/sync/modules/git/git.py b/lib/portage/sync/modules/git/git.py index 8fdbf97de..a2830280f 100644 --- a/lib/portage/sync/modules/git/git.py +++ b/lib/portage/sync/modules/git/git.py @@ -606,6 +606,7 @@ class GitSync(NewBase): if self.bin_command is None: # return quietly so that we don't pollute emerge --info output return (1, False) + self.add_safe_directory() rev_cmd = [self.bin_command, "rev-list", "--max-count=1", "HEAD"] try: ret = ( |