aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorBilly Lynch <billy@chainguard.dev>2024-01-11 14:42:52 -0500
committerBilly Lynch <billy@chainguard.dev>2024-01-18 12:56:55 -0500
commite1bb0e2cb68265458d4540ae566c255263d918a2 (patch)
tree139795e0c80abefba237d422952d7cfa9e84deef /.github
parenta6e934f1f76996c7f92cb4fde708170c1eb5d032 (diff)
downloadgo-git-e1bb0e2cb68265458d4540ae566c255263d918a2.tar.gz
git: worktree_commit, Add crypto.Signer option to CommitOptions.
This change adds a new crypto.Signer option to CommitOptions as an alternative to SignKey to allow alternative commit signers to be used. This change byitself does not add other signing methods (e.g. ssh, x509, gitsign), but gives callers the ability to add their own. This roughly follows git's sign_buffer approach where go-git handles the commit message body encoding, and hands off the encoded []byte to the signing implementation for the signature to be returned. Signed-off-by: Billy Lynch <billy@chainguard.dev>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions