config: Fix --unset for continuation lines
commit7a31cc0f96681d6cba54b38bb87daa2440bef448
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 11 Feb 2008 00:23:03 +0000 (11 01:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Feb 2008 02:42:06 +0000 (10 18:42 -0800)
treee3305fc2187232fdf8cf67c34a21409670126a77
parent527270689c364bea9b0630df9bae5e09c2071c1e
config: Fix --unset for continuation lines

find_beginning_of_line didn't take into account that the
previous line might have ended with \ in which case it shouldn't
stop but continue its search.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
t/t1300-repo-config.sh