Merge "project: Set config option to skip lfs smudge filter"

This commit is contained in:
David Pursehouse 2016-08-17 01:00:11 +00:00 committed by Gerrit Code Review
commit 183c52ab02

View File

@ -2294,6 +2294,7 @@ class Project(object):
for key in ['user.name', 'user.email']: for key in ['user.name', 'user.email']:
if m.Has(key, include_defaults=False): if m.Has(key, include_defaults=False):
self.config.SetString(key, m.GetString(key)) self.config.SetString(key, m.GetString(key))
self.config.SetString('filter.lfs.smudge', 'git-lfs smudge --skip -- %f')
if self.manifest.IsMirror: if self.manifest.IsMirror:
self.config.SetString('core.bare', 'true') self.config.SetString('core.bare', 'true')
else: else: