On Tue, Jul 10, 2018 at 10:52:25AM +0200, Henning Schild wrote:
quoted hunk ↗ jump to hunk
@@ -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"))
+ return error("malformed value for %s: %s", var, value);
+ return git_config_string(&gpg_format, var, value);
+ }
I know we discussed names and case-sensitivity a little bit off-list.
FWIW, this name looks good to me.
-Peff