From: Junio C Hamano Date: Mon, 11 Feb 2008 18:51:31 +0000 (-0800) Subject: builtin-tag.c: guard config parser from value=NULL X-Git-Tag: v1.5.4.2~41 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=406d95f2d013bd17d79bbcf9438a2f03bd70a78a;p=git.git builtin-tag.c: guard config parser from value=NULL user.signingkey configuration expects a string value. Signed-off-by: Junio C Hamano --- diff --git a/builtin-tag.c b/builtin-tag.c index 03e70155f..4a4a88c10 100644 --- a/builtin-tag.c +++ b/builtin-tag.c @@ -258,7 +258,7 @@ static int git_tag_config(const char *var, const char *value) { if (!strcmp(var, "user.signingkey")) { if (!value) - die("user.signingkey without value"); + return config_error_nonbool(value); set_signingkey(value); return 0; }