From 932ba5cb1af9bb16bc6e9b2b939dcd5482ef7c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Wed, 8 Jul 2020 20:52:10 +0100 Subject: [PATCH] Use a shallow clone --- sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/build.rs b/sys/build.rs index e687c2c..4850710 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -123,6 +123,7 @@ fn fetch() -> io::Result<()> { let status = Command::new("git") .current_dir(&output_base_path) .arg("clone") + .arg("--depth=1") .arg("-b") .arg(format!("release/{}", version())) .arg("https://github.com/FFmpeg/FFmpeg")