diff options
author | Chris Marchesi <chrism@vancluevertech.com> | 2018-08-16 17:46:07 -0700 |
---|---|---|
committer | Chris Marchesi <chrism@vancluevertech.com> | 2018-08-16 17:53:36 -0700 |
commit | 0ef699d06cd038b73ea22a6d1eb19aff2761156f (patch) | |
tree | d0623f8db4d5fd7cbe0b827c9a6701b7df685181 /repository_test.go | |
parent | ec3d2a817d7cf43696a42d8460c7a8957a12a57b (diff) | |
download | go-git-0ef699d06cd038b73ea22a6d1eb19aff2761156f.tar.gz |
git: Add ability to PGP sign commits
This adds the ability to sign commits by adding the SignKey field to
CommitOptions. If present, the commit will be signed during the
WorkTree.Commit call.
The supplied SignKey must already be decrypted by the caller.
Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
Diffstat (limited to 'repository_test.go')
0 files changed, 0 insertions, 0 deletions