diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2533,8 +2533,9 @@ class Project(object): | |||
2533 | for key in ['user.name', 'user.email']: | 2533 | for key in ['user.name', 'user.email']: |
2534 | if m.Has(key, include_defaults=False): | 2534 | if m.Has(key, include_defaults=False): |
2535 | self.config.SetString(key, m.GetString(key)) | 2535 | self.config.SetString(key, m.GetString(key)) |
2536 | self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f') | 2536 | if not self.manifest.EnableGitLfs: |
2537 | self.config.SetString('filter.lfs.process', 'git-lfs filter-process --skip') | 2537 | self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f') |
2538 | self.config.SetString('filter.lfs.process', 'git-lfs filter-process --skip') | ||
2538 | self.config.SetBoolean('core.bare', True if self.manifest.IsMirror else None) | 2539 | self.config.SetBoolean('core.bare', True if self.manifest.IsMirror else None) |
2539 | except Exception: | 2540 | except Exception: |
2540 | if init_obj_dir and os.path.exists(self.objdir): | 2541 | if init_obj_dir and os.path.exists(self.objdir): |