Lines Matching refs:cmd
124 let mut cmd = Command::new("git");
125 cmd.arg("remote").arg("get-url").arg("origin");
128 cmd.current_dir(path);
131 let proc: std::process::Child = cmd
153 let mut cmd = Command::new("git");
154 cmd.arg("remote")
160 cmd.current_dir(path);
163 let proc: std::process::Child = cmd
192 let mut cmd = Command::new("git");
193 cmd.current_dir(&target_dir.path);
194 cmd.arg("checkout");
197 cmd.arg(branch);
200 cmd.arg(revision);
204 cmd.arg("-f").arg("-q");
207 let proc: std::process::Child = cmd
258 let mut cmd = Command::new("git");
259 cmd.arg("clone").arg(&self.url).arg(".").arg("--recursive");
262 cmd.arg("--branch").arg(branch).arg("--depth").arg("1");
268 cmd.current_dir(path);
271 let proc: std::process::Child = cmd
316 let mut cmd = Command::new("git");
317 cmd.current_dir(&target_dir.path);
318 cmd.arg("config")
323 let proc: std::process::Child = cmd
344 let mut cmd = Command::new("git");
345 cmd.current_dir(&target_dir.path);
346 cmd.arg("fetch").arg("--unshallow");
348 cmd.arg("-f");
351 let proc: std::process::Child = cmd
369 let mut cmd = Command::new("git");
370 cmd.current_dir(&target_dir.path);
371 cmd.arg("rev-parse").arg("--is-shallow-repository");
373 let proc: std::process::Child = cmd
393 let mut cmd = Command::new("git");
394 cmd.current_dir(&target_dir.path);
395 cmd.arg("fetch").arg("--all");
398 cmd.arg("-f").arg("-q");
401 let proc: std::process::Child = cmd
425 let mut cmd = Command::new("git");
426 cmd.current_dir(&target_dir.path);
427 cmd.arg("pull");
430 cmd.arg("-f").arg("-q");
433 let proc: std::process::Child = cmd
626 let mut cmd = Command::new("tar");
627 cmd.arg("-xf").arg(&self.archive_name);
628 let proc: std::process::Child = cmd