pub fn apply_cached(patch: &str) -> Result<()>
Stage a unified-0 patch into the index. --unidiff-zero is required for git to accept the zero-context hunks absorb works with.
--unidiff-zero