Add color_fwrite_lines(), a function coloring each line individually
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 17 Jan 2009 16:29:42 +0000 (17:29 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Jan 2009 18:42:03 +0000 (10:42 -0800)
commit07b57e90f7c852c4fe212ab1d91058f27469a74b
tree4f9635f2ab1d0c8d70f08e861032069e078578f2
parent3ea95d2b0e6fa63e66de24a5084e217102ab9e8a
Add color_fwrite_lines(), a function coloring each line individually

We have to set the color before every line and reset it before every
newline.  Add a function color_fwrite_lines() which does that for us.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
color.c
color.h