aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--Makefile2
m---------git0
-rw-r--r--shared.c2
-rw-r--r--ui-snapshot.c1
4 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e690c7f..4aaf2dc 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ htmldir = $(docdir)
pdfdir = $(docdir)
mandir = $(prefix)/share/man
SHA1_HEADER = <openssl/sha.h>
-GIT_VER = 2.20.0
+GIT_VER = 2.19.1
GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz
INSTALL = install
COPYTREE = cp -r
diff --git a/git b/git
-Subproject 5d826e972970a784bd7a7bdf587512510097b8c
+Subproject cae598d9980661a978e2df4fb338518f7bf0957
diff --git a/shared.c b/shared.c
index a2c0d03..7560f5f 100644
--- a/shared.c
+++ b/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.out_line = filediff_cb;
+ emit_cb.outf = filediff_cb;
emit_cb.priv = fn;
xdl_diff(&file1, &file2, &diff_params, &emit_params, &emit_cb);
if (file1.size)
diff --git a/ui-snapshot.c b/ui-snapshot.c
index 9461d51..85efe64 100644
--- a/ui-snapshot.c
+++ b/ui-snapshot.c
@@ -156,7 +156,6 @@ static int make_snapshot(const struct cgit_snapshot_format *format,
ctx.page.mimetype = xstrdup(format->mimetype);
ctx.page.filename = xstrdup(filename);
cgit_print_http_headers();
- init_archivers();
format->write_func(hex, prefix);
return 0;
}