neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 0de21a8d4176f15b4185a2e083787eeb05d95a77
parent ff13396926f3352d9e29c0663154918297dc5af7
Author: Lars Hjemli <hjemli@gmail.com>
Date:   Tue,  4 Sep 2007 11:04:47 +0200

Set xdemitconf_t.findfunc=NULL

This function-pointer was introduced in git v1.5.3-rc0-42-gf258475. It
needs to have a value, and setting it to NULL triggers the old behaviour
for selecting hunk headers.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>

Diffstat:
Mshared.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/shared.c b/shared.c @@ -373,6 +373,7 @@ int cgit_diff_files(const unsigned char *old_sha1, diff_params.flags = XDF_NEED_MINIMAL; emit_params.ctxlen = 3; emit_params.flags = XDL_EMIT_FUNCNAMES; + emit_params.find_func = NULL; emit_cb.outf = filediff_cb; emit_cb.priv = fn; xdl_diff(&file1, &file2, &diff_params, &emit_params, &emit_cb);