xdiff: add hunk_func()
commit467d348c19b2ce82753bb9b5a873f6d129eb04e2
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Wed, 9 May 2012 20:20:55 +0000 (9 22:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 May 2012 21:00:15 +0000 (9 14:00 -0700)
treeacc276448fc369d45713e87653c5adf9055dd781
parenta3935e6791c619a9f2f472e9e553d45d88c4e263
xdiff: add hunk_func()

Add a way to register a callback function that is gets passed the
start line and line count of each hunk of a diff.  Only standard
types are used.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xdiff.h
xdiff/xdiffi.c