diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2472,10 +2472,7 @@ class Project(object): | |||
2472 | self.config.SetString(key, m.GetString(key)) | 2472 | self.config.SetString(key, m.GetString(key)) |
2473 | self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f') | 2473 | self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f') |
2474 | self.config.SetString('filter.lfs.process', 'git-lfs filter-process --skip') | 2474 | self.config.SetString('filter.lfs.process', 'git-lfs filter-process --skip') |
2475 | if self.manifest.IsMirror: | 2475 | self.config.SetBoolean('core.bare', True if self.manifest.IsMirror else None) |
2476 | self.config.SetString('core.bare', 'true') | ||
2477 | else: | ||
2478 | self.config.SetString('core.bare', None) | ||
2479 | except Exception: | 2476 | except Exception: |
2480 | if init_obj_dir and os.path.exists(self.objdir): | 2477 | if init_obj_dir and os.path.exists(self.objdir): |
2481 | platform_utils.rmtree(self.objdir) | 2478 | platform_utils.rmtree(self.objdir) |