cgit

commit fb804a353780633b23a5452b3893fcc9f3705431

Author: Christian Hesse <mail@eworm.de>

git: update to v2.17.1

Update to git version v2.17.1. Required changes:

* The function 'typename' has been renamed to 'type_name'
  (upstream commit debca9d2fe784193dc2d9f98b5edac605ddfefbb)

Signed-off-by: Christian Hesse <mail@eworm.de>

 Makefile | 2 +-
 ui-shared.c | 2 +-


diff --git a/Makefile b/Makefile
index 70f32a4381452452127e4d9e1f29181e104c160d..be2ed4f0c447a86bd0a7cc00a50076da5699b5b5 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.16.0
+GIT_VER = 2.17.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-shared.c b/ui-shared.c
index 9d8f66b9fab89ad63e5bfaac22eb6956567f10dd..ce806f6f4acefbeadf829d18cafe54d527122029 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -545,7 +545,7 @@ 	else if (obj->type == OBJ_TAG)
 		page = "tag";
 	else
 		page = "blob";
-	name = fmt("%s %s...", typename(obj->type), shortrev);
+	name = fmt("%s %s...", type_name(obj->type), shortrev);
 	reporevlink(page, name, NULL, NULL, ctx.qry.head, fullrev, NULL);
 }