Commit ae5c3c6c authored by Michal Čihař's avatar Michal Čihař

Set default push strategy for git

Fixes #607
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 03690037
......@@ -369,6 +369,13 @@ class GitRepository(Repository):
'''
self._popen(['init', self.path])
def check_config(self):
"""
Checks VCS configuration.
"""
# We directly set config as it takes same time as reading it
self.set_config('push.default', 'simple')
@classmethod
def clone(cls, source, target, bare=False):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment