MCPcopy Create free account
hub / github.com/git/git / diff_hunks

Function diff_hunks

blame.c:317–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315
316
317static int diff_hunks(mmfile_t *file_a, mmfile_t *file_b,
318 xdl_emit_hunk_consume_func_t hunk_func, void *cb_data, int xdl_opts)
319{
320 xpparam_t xpp = {0};
321 xdemitconf_t xecfg = {0};
322 xdemitcb_t ecb = {NULL};
323
324 xpp.flags = xdl_opts;
325 xecfg.hunk_func = hunk_func;
326 ecb.priv = cb_data;
327 return xdi_diff(file_a, file_b, &xpp, &xecfg, &ecb);
328}
329
330static const char *get_next_line(const char *start, const char *end)
331{

Callers 2

pass_blame_to_parentFunction · 0.85
find_copy_in_blobFunction · 0.85

Calls 1

xdi_diffFunction · 0.85

Tested by

no test coverage detected