about summary refs log tree commit diff
path: root/ui-log.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2014-12-19 00:28:34 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2014-12-23 18:53:03 -0700
commit17838ec6304198811df97402f11c185f8f0e10bd (patch)
treebf462dcdb2b974d45c72b8f4fb559dfde1b51027 /ui-log.c
parentfilter: fix libravatar email-filter https issue (diff)
downloadcgit-pink-17838ec6304198811df97402f11c185f8f0e10bd.tar.gz
cgit-pink-17838ec6304198811df97402f11c185f8f0e10bd.zip
git: update to v2.2.1
Update to git version v2.2.1, including API changes.

Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to '')
-rw-r--r--ui-log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-log.c b/ui-log.c
index ad2f5fc..657ff3c 100644
--- a/ui-log.c
+++ b/ui-log.c
@@ -56,11 +56,11 @@ static void inspect_files(struct diff_filepair *pair)
 
 void show_commit_decorations(struct commit *commit)
 {
-	struct name_decoration *deco;
+	const struct name_decoration *deco;
 	static char buf[1024];
 
 	buf[sizeof(buf) - 1] = 0;
-	deco = lookup_decoration(&name_decoration, &commit->object);
+	deco = get_name_decoration(&commit->object);
 	html("<span class='decoration'>");
 	while (deco) {
 		if (starts_with(deco->name, "refs/heads/")) {