about summary refs log tree commit diff
path: root/ui-blame.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2020-12-28 23:27:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-12-29 12:29:42 +0100
commitcef27b670a66c9840bb6120260864e4b3a701dc2 (patch)
tree1cb4684b783f673a7ca3498c4c119dc6f9a6e544 /ui-blame.c
parentgit: update to v2.29.2 (diff)
downloadcgit-pink-cef27b670a66c9840bb6120260864e4b3a701dc2.tar.gz
cgit-pink-cef27b670a66c9840bb6120260864e4b3a701dc2.zip
git: update to v2.30.0
Update to git version v2.30.0, this requires changes for these
upstream commits:

* 88894aaeeae92e8cb41143cc2e045f50289dc790
  blame: simplify 'setup_scoreboard' interface

* 1fbfdf556f2abc708183caca53ae4e2881b46ae2
  banned.h: mark non-reentrant gmtime, etc as banned

Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to '')
-rw-r--r--ui-blame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-blame.c b/ui-blame.c
index cfab7fb..ec1d888 100644
--- a/ui-blame.c
+++ b/ui-blame.c
@@ -132,7 +132,8 @@ static void print_object(const struct object_id *oid, const char *path,
 	init_scoreboard(&sb);
 	sb.revs = &revs;
 	sb.repo = the_repository;
-	setup_scoreboard(&sb, path, &o);
+	sb.path = path;
+	setup_scoreboard(&sb, &o);
 	o->suspects = blame_entry_prepend(NULL, 0, sb.num_lines, o);
 	prio_queue_put(&sb.commits, o->commit);
 	blame_origin_decref(o);