pub fn hook_drop_commit_if_empty(
effects: &Effects,
old_commit_oid: NonZeroOid,
) -> Result<(), Report>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.