diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-02-11 10:51:31 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-11 13:11:36 -0800 |
commit | 406d95f2d013bd17d79bbcf9438a2f03bd70a78a (patch) | |
tree | d0b2b3e1bebbb837b4383ece6fb8d85bd00e3114 | |
parent | 4f9c412bf778e091d06cd01376b64cef15e3954c (diff) | |
download | git-406d95f2d013bd17d79bbcf9438a2f03bd70a78a.tar.gz |
builtin-tag.c: guard config parser from value=NULL
user.signingkey configuration expects a string value.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | builtin-tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-tag.c b/builtin-tag.c index 03e70155fc..4a4a88c10b 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; } |