git-format-patch: do not crash with format.headers without value.
authorJunio C Hamano <junkio@cox.net>
Wed, 17 Jan 2007 19:13:02 +0000 (11:13 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 17 Jan 2007 20:03:50 +0000 (12:03 -0800)
commitd7fb91c69dc347c53b0d9830b13fdadf217a78f1
tree15f4fd63f8804ccef011d442f554cc425dcf50eb
parent03eeaeaea57485e288dfecc37b120b074d6e92de
git-format-patch: do not crash with format.headers without value.

An incorrect config file can say:

[format]
headers

and crash the parsing.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c