diff --git a/babel.nim b/babel.nim index 2f73ce5..6d49432 100644 --- a/babel.nim +++ b/babel.nim @@ -200,7 +200,7 @@ proc install(packages: seq[String]) = of "git": echo("Executing git...") removeDir(downloadDir) - doCmd("git clone " & pkg.url & " " & downloadDir) + doCmd("git clone --depth 1 " & pkg.url & " " & downloadDir) if dvcsTag != "": doCmd("cd \"" & downloadDir & "\" && git checkout " & dvcsTag) else: quit("Unknown download method: " & pkg.downloadMethod, QuitFailure) @@ -270,4 +270,4 @@ when isMainModule: - \ No newline at end of file +