(output: &Output)
| 86 | } |
| 87 | |
| 88 | fn assert_init(output: &Output) { |
| 89 | assert!( |
| 90 | output.status.success(), |
| 91 | "setup failed:\nstdout:\n{}\nstderr:\n{}", |
| 92 | String::from_utf8_lossy(&output.stdout), |
| 93 | String::from_utf8_lossy(&output.stderr) |
| 94 | ); |
| 95 | } |
| 96 | |
| 97 | fn binding_ref_names(git_dir: &Path) -> Vec<String> { |
| 98 | let git = git2::Repository::open(git_dir).expect("open git"); |