summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f769982)
raw | patch | inline | side by side (parent: f769982)
author | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Feb 2008 18:48:55 +0000 (10:48 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Feb 2008 21:11:36 +0000 (13:11 -0800) |
format.subjectprefix configuration expects a string value.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c | patch | blob | history |
diff --git a/builtin-log.c b/builtin-log.c
index dcc9f817930a3caf8d434dfd54fe476501bcdda2..9458428a8b69077a4b17475d596144ce92e1da4e 100644 (file)
--- a/builtin-log.c
+++ b/builtin-log.c
{
if (!strcmp(var, "format.subjectprefix")) {
if (!value)
- die("format.subjectprefix without value");
+ config_error_nonbool(var);
fmt_patch_subject_prefix = xstrdup(value);
return 0;
}