Use a shallow clone

This commit is contained in:
Kornel Lesiński
2023-05-24 21:49:22 +02:00
committed by Till Höppner
parent 1bfc5cebcc
commit 932ba5cb1a
+1
View File
@@ -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")