Skip to main content

write_diff_entry_log_patch

Function write_diff_entry_log_patch 

Source
pub fn write_diff_entry_log_patch<W: Write>(
    out: &mut W,
    repo: &Repository,
    odb: &Odb,
    entry: &DiffEntry,
    opts: &LogPatchOptions,
) -> Result<()>
Expand description

Write the diff --git header and unified body for one DiffEntry.

ยงErrors

Propagates ODB reads and I/O errors.