pub fn git_accepts(
scratch: &Path,
name: &str,
pack: &[u8],
how: Strictness,
) -> Result<()>Expand description
Hand pack to stock git, inside a repository, and return its verdict.
Ok(()) means git accepted it. Err names why, and — the part this module
exists for — an oracle that crashed is an Err that says so, instead of an
exit code nobody looks at behind an empty stderr.