Re: [PATCH v2 3/9] gpg-interface: add new config to select how to sign a commit

2018-07-10 Thread Jeff King
On Tue, Jul 10, 2018 at 10:52:25AM +0200, Henning Schild wrote: > @@ -138,6 +139,12 @@ int git_gpg_config(const char *var, const char *value, > void *cb) > return 0; > } > > + if (!strcmp(var, "gpg.format")) { > + if (strcasecmp(value, "openpgp")) > +

[PATCH v2 3/9] gpg-interface: add new config to select how to sign a commit

2018-07-10 Thread Henning Schild
Add "gpg.format" where the user can specify which type of signature to use for commits. At the moment only "openpgp" is supported and the value is not even used. This commit prepares for a new types of signatures. Signed-off-by: Henning Schild --- Documentation/config.txt | 4 gpg-interface