xdiff: factor out is_func_rec()
commitcde32bf62f74758d3bad685f9fef6aea4e10d106
authorRené Scharfe <l.s.r@web.de>
Sat, 18 Nov 2017 18:04:40 +0000 (18 19:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Nov 2017 00:36:06 +0000 (21 09:36 +0900)
treea005535d9a082bfd89476370ef4e36959fb62093
parenteced93bcb8647ad7dad6511e0d58a4dad470f473
xdiff: factor out is_func_rec()

Add a helper for checking if a given record is a function line.  It
frees callers from having to deal with the buffer arguments of
match_func_rec().

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