Fix parsing numeric color values
authorTimo Hirvonen <tihirvon@gmail.com>
Wed, 6 Feb 2008 12:16:08 +0000 (14:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Feb 2008 22:02:41 +0000 (14:02 -0800)
commita0cf49c16ae37177dcfcefa1149bf09f84721cf5
treecac86ec1c7498c185638dbe979406ff05bce32cf
parentf1c3239ab5c4d66637822b03db407f87ed068d15
Fix parsing numeric color values

Numeric color only worked if it was at end of line.
Noticed by Chris Larson <clarson@kergoth.com>.

Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
color.c
t/t4026-color.sh [new file with mode: 0755]