git-commit-vandalism/xdiff
René Scharfe f99f4b3667 xdiff: factor out get_func_line()
Move the code to search for a function line to be shown in the hunk
header into its own function and to make returning the length-limited
result string easier, introduce struct func_line.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-10-10 11:59:30 -07:00
..
xdiff.h xdiff: do away with xdl_mmfile_next() 2011-08-03 10:15:16 -07:00
xdiffi.c teach --histogram to diff 2011-07-12 09:29:20 -07:00
xdiffi.h teach --histogram to diff 2011-07-12 09:29:20 -07:00
xemit.c xdiff: factor out get_func_line() 2011-10-10 11:59:30 -07:00
xemit.h
xhistogram.c xdiff/xhistogram: drop need for additional variable 2011-08-08 13:00:17 -07:00
xinclude.h
xmacros.h xdiff: cast arguments for ctype functions to unsigned char 2010-10-06 10:46:45 -07:00
xmerge.c xdiff: cast arguments for ctype functions to unsigned char 2010-10-06 10:46:45 -07:00
xpatience.c xdiff/xpatience: factor out fall-back-diff function 2011-07-07 09:41:24 -07:00
xprepare.c Merge branch 'rc/histogram-diff' 2011-09-06 11:42:58 -07:00
xprepare.h
xtypes.h
xutils.c xdiff: do away with xdl_mmfile_next() 2011-08-03 10:15:16 -07:00
xutils.h xdiff/xprepare: use a smaller sample size for histogram diff 2011-07-12 09:30:00 -07:00