Open Enter-tainer opened 3 years ago
I found a upstream discussion https://github.com/rust-lang/git2-rs/issues/507 , hope it can help you.
Hi, @CoelacanthusHex, @Enter-tainer Thank you for your issue. i would support for this feature in the next release.
I underestimated the difficulty of this job, I will support it as soon as possible if it is feasible.இ௰இ
By default, if
signingKey
is specified in~/.gitconfig
, git will automatically sign the commit usinggpg
. But when usinggrc
, commits are not signed.git log --show-signature
My gitconfig:
I've searched
git2
's document, and I guess it is possible to implement this feature. See https://docs.rs/git2/0.13.17/git2/struct.Repository.html#method.commit_signed .