mirror of
https://github.com/encounter/rust-ffmpeg-zmwangx.git
synced 2026-07-10 21:18:40 -07:00
Use a shallow clone
This commit is contained in:
committed by
Till Höppner
parent
1bfc5cebcc
commit
932ba5cb1a
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user