From d82dc466d709a34ca9cd945f2666674650e0ad46 Mon Sep 17 00:00:00 2001 From: OndraRehounek <ondra.rehounek@seznam.cz> Date: Fri, 11 Mar 2022 15:37:52 +0100 Subject: [PATCH] MS & KS: git clone --depth 1 --- district/jekyll_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/district/jekyll_import.py b/district/jekyll_import.py index 0e82e3ce..743524f2 100644 --- a/district/jekyll_import.py +++ b/district/jekyll_import.py @@ -177,7 +177,7 @@ def clone_repo(url: str) -> str: rmtree(repo_path) os.chdir(path) - os.system("git clone {}".format(url)) + os.system("git clone --depth 1 {}".format(url)) return repo_path -- GitLab