[PATCH] ui-shared: typename changed to type_name in git 2.18.0-rc2

Andy Green andy at warmcat.com
Thu Jun 14 03:48:37 CEST 2018


Signed-off-by: Andy Green <andy at warmcat.com>
---
 ui-shared.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-shared.c b/ui-shared.c
index 9d8f66b..ce806f6 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -545,7 +545,7 @@ void cgit_object_link(struct object *obj)
 		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);
 }
 



More information about the CGit mailing list