Feature Description
Some applications use go-git to generate commits against a local repository on behalf of the current user.
A new ObjectSigner auto should use the same heuristics as git to identify what type of signer (and which key) should be used for a given context, without requiring the use of go-git primitives - to avoid circular reference.
Initially support can be added for gpg and ssh, as both object signers already exist. As new implementations are added, them should make their way into auto.
Relates to: go-git/go-git#1849
Feature Description
Some applications use
go-gitto generate commits against a local repository on behalf of the current user.A new ObjectSigner
autoshould use the same heuristics asgitto identify what type of signer (and which key) should be used for a given context, without requiring the use ofgo-gitprimitives - to avoid circular reference.Initially support can be added for
gpgandssh, as both object signers already exist. As new implementations are added, them should make their way intoauto.Relates to: go-git/go-git#1849