mirror of
https://git.zx2c4.com/cgit
synced 2025-07-24 12:45:10 +02:00
git: update to v2.20.0
Update to git version v2.20.0. Required changes follow upstream commits: * 00436bf1b1c2a8fe6cf5d2c2457d419d683042f4 (archive: initialize archivers earlier) * 611e42a5980a3a9f8bb3b1b49c1abde63c7a191e (xdiff: provide a separate emit callback for hunks) Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
441dac1d74
commit
55ebd5e97c
4 changed files with 4 additions and 3 deletions
2
shared.c
2
shared.c
|
@ -325,7 +325,7 @@ int cgit_diff_files(const struct object_id *old_oid,
|
|||
diff_params.flags |= XDF_IGNORE_WHITESPACE;
|
||||
emit_params.ctxlen = context > 0 ? context : 3;
|
||||
emit_params.flags = XDL_EMIT_FUNCNAMES;
|
||||
emit_cb.outf = filediff_cb;
|
||||
emit_cb.out_line = filediff_cb;
|
||||
emit_cb.priv = fn;
|
||||
xdl_diff(&file1, &file2, &diff_params, &emit_params, &emit_cb);
|
||||
if (file1.size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue