diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2021-01-24 01:57:09 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2021-02-07 17:32:30 -0500 |
commit | 6d462e5fe95e20245656aaac4ead6f4c48e319d5 (patch) | |
tree | a02b202c4799185e8db49a1668865ecf193de17b /org.eclipse.jgit.junit/src | |
parent | 19bed3399de12654481f8072cab60cb4b1796d8a (diff) | |
download | jgit-6d462e5fe95e20245656aaac4ead6f4c48e319d5.tar.gz jgit-6d462e5fe95e20245656aaac4ead6f4c48e319d5.zip |
GPG: support git config gpg.program
Add it to the GpgConfig. Change GpgConfig to load the values once only.
Add a parameter to the GpgObjectSigner interface's operations to pass
in a GpgConfig. Update CommitCommand and TagCommand to pass the value
to the signer. Let the signer decide whether it can actually produce
the wanted signature type (openpgp or x509).
No behavior change. But this makes it possible to implement different
signers that might support x509 signatures, or use gpg.program and
shell out to an external GPG executable for signing.
Change-Id: I427f83eb1ece81c310e1cddd85315f6f88cc99ea
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.junit/src')
0 files changed, 0 insertions, 0 deletions