Function empty_commit

Source
pub fn empty_commit<'a>(
    repo: &'a Repository,
    parent: &'a Commit<'_>,
    target: &RefStr,
    message: &str,
    sig: &Signature<'_>,
) -> Result<Commit<'a>, Error>
Expand description

Create an empty commit on top of the parent.