diff options
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3341,7 +3341,7 @@ class Project: | |||
3341 | if not platform_utils.islink(dotgit) and platform_utils.isdir(dotgit): | 3341 | if not platform_utils.islink(dotgit) and platform_utils.isdir(dotgit): |
3342 | self._MigrateOldWorkTreeGitDir(dotgit, project=self.name) | 3342 | self._MigrateOldWorkTreeGitDir(dotgit, project=self.name) |
3343 | 3343 | ||
3344 | init_dotgit = not os.path.exists(dotgit) | 3344 | init_dotgit = not os.path.lexists(dotgit) |
3345 | if self.use_git_worktrees: | 3345 | if self.use_git_worktrees: |
3346 | if init_dotgit: | 3346 | if init_dotgit: |
3347 | self._InitGitWorktree() | 3347 | self._InitGitWorktree() |