Function branchless::core::rewrite::hooks::hook_drop_commit_if_empty[][src]

pub fn hook_drop_commit_if_empty(
    effects: &Effects,
    old_commit_oid: NonZeroOid
) -> Result<()>
Expand description

For rebases, detect empty commits (which have probably been applied upstream) and write them to the rewritten-list file, so that they’re later passed to the post-rewrite hook.