pub fn init(root: &Path) -> Result<()>Expand description
Initialise a fresh git repository at root (pure-Rust via gix).
The directory is created if missing. Used by test fixtures and the
synthetic-repo generator so setup code is also free of git
subprocesses.