xdiff: factor out match_func_rec()
commitff2981f724c617d377229666e6deae257de5e239
authorRené Scharfe <l.s.r@web.de>
Sat, 28 May 2016 14:58:47 +0000 (28 16:58 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 May 2016 20:08:56 +0000 (31 13:08 -0700)
tree3c26e1ff7cd12d525c3f031e6b2a9149ac21ef6e
parentd3621de789ab57739f48b065751089d828b50240
xdiff: factor out match_func_rec()

Add match_func_rec(), a helper that wraps accessing a record and calling
the appropriate function for checking if it contains a function line.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xemit.c