pub fn write_commit_log_patch<W: Write>(
repo: &Repository,
out: &mut W,
oid: &ObjectId,
opts: &LogPatchOptions,
) -> Result<()>Expand description
Write one commit in git log -p --no-color --format=%H shape (no patch for merges).
ยงErrors
Propagates ODB read, tree diff, and I/O errors.