notes-utils: handle boolean notes.rewritemode correctly
commitaa012e906542dbc533dbc5bafe1c4e0a47bdc59e
authorJohn Keeping <john@keeping.me.uk>
Sun, 16 Feb 2014 16:06:02 +0000 (16 16:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Feb 2014 23:51:29 +0000 (18 15:51 -0800)
tree6c68c14293f461733d3e632827ef94d31d600aa5
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac
notes-utils: handle boolean notes.rewritemode correctly

If we carry on after outputting config_error_nonbool then we're
guaranteed to dereference a null pointer.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes-utils.c