Anchor the shim (CB-7A) so git-side transitions adopt through the post-checkout hook (needed for ephemeral-view adoption tests).
(&self)
| 162 | /// Anchor the shim (CB-7A) so git-side transitions adopt through the |
| 163 | /// post-checkout hook (needed for ephemeral-view adoption tests). |
| 164 | fn anchor(&self) { |
| 165 | atomic_ok( |
| 166 | self.root(), |
| 167 | self.home(), |
| 168 | &[ |
| 169 | "git", |
| 170 | "shim", |
| 171 | "enable", |
| 172 | "--binding-key-file", |
| 173 | self.key().to_str().expect("utf8 key path"), |
| 174 | ], |
| 175 | ); |
| 176 | } |
| 177 | |
| 178 | fn git(&self, args: &[&str]) -> String { |
| 179 | git(self.root(), args) |
no test coverage detected