mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
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>
This commit is contained in:
parent
4f9c412bf7
commit
406d95f2d0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue