gcr
gcr copied to clipboard
commits generated by grc are not properly signed
By default, if signingKey
is specified in ~/.gitconfig
, git will automatically sign the commit using gpg
. But when using grc
, commits are not signed.
git log --show-signature
My gitconfig:
mgt in ~
❯ cat .gitconfig
[user]
name = mgt
email = [email protected]
signingKey = 7965BF43A2143DD26F1A4850362C4BEE95C1C2DF
[commit]
gpgSign = true
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 .
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.இ௰இ