From: Junio C Hamano Date: Mon, 11 Feb 2008 18:48:55 +0000 (-0800) Subject: builtin-log.c: guard config parser from value=NULL X-Git-Tag: v1.5.4.2~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=995c45279e270811f53b7ff8bf44a07ed3457ddc;p=git.git builtin-log.c: guard config parser from value=NULL format.subjectprefix configuration expects a string value. Signed-off-by: Junio C Hamano --- diff --git a/builtin-log.c b/builtin-log.c index dcc9f8179..9458428a8 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -219,7 +219,7 @@ static int git_log_config(const char *var, const char *value) { if (!strcmp(var, "format.subjectprefix")) { if (!value) - die("format.subjectprefix without value"); + config_error_nonbool(var); fmt_patch_subject_prefix = xstrdup(value); return 0; }