Thread (42 messages) flat view 42 messages, 3 authors, 2018-07-16

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

From: Jeff King <hidden>
Date: 2018-07-10 15:56:43

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help