cgit

commit 5d947ba3f06ec2c7200aab8c22170e7f2bf55a7c

Author: Christian Hesse <mail@eworm.de>

git: update to v2.15.1

Update to git version v2.15.1: With commit 0abe14f6 prepare_packed_git()
moved to packfile.[ch].

Signed-off-by: Christian Hesse <mail@eworm.de>
Reviewed-by: John Keeping <john@keeping.me.uk>

 Makefile | 2 +-
 ui-clone.c | 1 +


diff --git a/Makefile b/Makefile
index f3ee84c35e0854b2355f1117f5d95d65c5dbd59d..274f37e5056b487dac8d4d842cb5a71e18063be2 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.14.0
+GIT_VER = 2.15.1
 GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.gz
 INSTALL = install
 COPYTREE = cp -r








diff --git a/ui-clone.c b/ui-clone.c
index 0d116721cad04dec7da6002dbcd284ecce566f2f..bc989804df9b3090110efe01e21427099d98b0f7 100644
--- a/ui-clone.c
+++ b/ui-clone.c
@@ -11,6 +11,7 @@ #include "cgit.h"
 #include "ui-clone.h"
 #include "html.h"
 #include "ui-shared.h"
+#include "packfile.h"
 
 static int print_ref_info(const char *refname, const struct object_id *oid,
                           int flags, void *cb_data)