pub fn sign( repo: Repository, rev_spec: Option<&str>, out: impl Write, ) -> Result<()>
Note that this is a quick first prototype that lacks some of the features provided by git verify-commit.
git verify-commit