diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-02-11 19:48:55 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-11 22:11:36 +0100 |
commit | 995c45279e270811f53b7ff8bf44a07ed3457ddc (patch) | |
tree | f6b85b2d3ff53c0e167dc060ef431f8e2a00f51c /builtin-log.c | |
parent | builtin-config.c: guard config parser from value=NULL (diff) | |
download | git-995c45279e270811f53b7ff8bf44a07ed3457ddc.tar.xz git-995c45279e270811f53b7ff8bf44a07ed3457ddc.zip |
builtin-log.c: guard config parser from value=NULL
format.subjectprefix configuration expects a string value.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-log.c')
-rw-r--r-- | builtin-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-log.c b/builtin-log.c index dcc9f81793..9458428a8b 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; } |