pub fn empty_commit<'a>( repo: &'a Repository, parent: &'a Commit<'_>, target: &RefStr, message: &str, sig: &Signature<'_>, ) -> Result<Commit<'a>, Error>
Create an empty commit on top of the parent.