(&self, args: &[&str])
| 85 | } |
| 86 | |
| 87 | fn git(&self, args: &[&str]) -> Output { |
| 88 | Command::new("git") |
| 89 | .args(args) |
| 90 | .current_dir(self.root()) |
| 91 | .env("HOME", self.home.path()) |
| 92 | .env("GIT_CONFIG_NOSYSTEM", "1") |
| 93 | .output() |
| 94 | .expect("run git") |
| 95 | } |
| 96 | |
| 97 | fn git_ok(&self, args: &[&str]) -> Output { |
| 98 | let output = self.git(args); |