(&self, branch: &str)
| 127 | } |
| 128 | |
| 129 | fn raw_git_drift(&self, branch: &str) { |
| 130 | self.git_ok(&["switch", "-q", "-c", branch]); |
| 131 | fs::write(self.root().join("tracked.txt"), b"raw Git checkout\n") |
| 132 | .expect("write Git-side drift"); |
| 133 | self.git_ok(&["add", "tracked.txt"]); |
| 134 | self.git_ok(&["commit", "--no-gpg-sign", "-q", "-m", "raw Git checkout"]); |
| 135 | } |
| 136 | |
| 137 | fn log_json(&self) -> Vec<u8> { |
| 138 | self.atomic_ok(&["log", "-f", "json", "--full-hash"]).stdout |
no test coverage detected