]> git.ipfire.org Git - thirdparty/git.git/commit - submodule-config.c
submodule-config: correct error reporting for invalid ignore value
authorStefan Beller <sbeller@google.com>
Tue, 14 Mar 2017 22:14:40 +0000 (15:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Mar 2017 18:26:08 +0000 (11:26 -0700)
commit5ea304896e1e2bfbf104c4098df70f93b5952cfa
tree088b0b6dbe11c057313cab1a37cf645dd75d65e8
parent6ebdac1bab966b720d776aa43ca188fe378b1f4b
submodule-config: correct error reporting for invalid ignore value

As 'var' contains the whole value we get error messages that repeat
the section and key currently:

warning: Invalid parameter 'true' for config option 'submodule.submodule.plugins/hooks.ignore.ignore'

Fix this by only giving the section name in the warning.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule-config.c