Merge pull request #233 from minrk/recursive

clone recursively
pull/236/head
Chris Holdgraf 2018-02-12 08:44:03 -08:00 zatwierdzone przez GitHub
commit cd7efc1b0d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -151,7 +151,7 @@ class Repo2Docker(Application):
def fetch(self, url, ref, checkout_path):
try:
for line in execute_cmd(['git', 'clone', url, checkout_path],
for line in execute_cmd(['git', 'clone', '--recursive', url, checkout_path],
capture=self.json_logs):
self.log.info(line, extra=dict(phase='fetching'))
except subprocess.CalledProcessError: