summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-11-18 19:04:40 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-21 09:36:06 +0900
commitcde32bf62f74758d3bad685f9fef6aea4e10d106 (patch)
treea005535d9a082bfd89476370ef4e36959fb62093 /compat
parentt4051: add test for comments preceding function lines (diff)
downloadtgif-cde32bf62f74758d3bad685f9fef6aea4e10d106.tar.xz
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>
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions