Code

Add a prefix output callback to diff output
authorBo Yang <struggleyb.nku@gmail.com>
Wed, 26 May 2010 07:08:02 +0000 (15:08 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jun 2010 01:00:21 +0000 (18:00 -0700)
commita3c158d4a58b17c1e4a8d3f793344beee21d3a4c
tree324fc1b3d3c21ccd173e9c7b2d2f93d411fe5756
parent81fa024cd8e336ba257f13fe7724b95baacfa3ad
Add a prefix output callback to diff output

The callback can be used to add some prefix string to each line of
diff output.

Signed-off-by: Bo Yang <struggleyb.nku@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
diff.h