(&self, args: &[&str])
| 120 | } |
| 121 | |
| 122 | fn git_text(&self, args: &[&str]) -> String { |
| 123 | String::from_utf8(self.git_ok(args).stdout) |
| 124 | .expect("UTF-8 Git output") |
| 125 | .trim() |
| 126 | .to_string() |
| 127 | } |
| 128 | |
| 129 | fn raw_git_drift(&self, branch: &str) { |
| 130 | self.git_ok(&["switch", "-q", "-c", branch]); |