From 86f79015336ac7f001bcc9eb740cf1a6c3801594 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 28 Dec 2020 23:27:13 +0100 Subject: chore(3p/cgit): 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 Change-Id: I6076ef250102010b601c92e9ea5bab2061b77006 --- third_party/cgit/ui-blame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'third_party/cgit/ui-blame.c') diff --git a/third_party/cgit/ui-blame.c b/third_party/cgit/ui-blame.c index 7f96351966f5..3c7ed263c972 100644 --- a/third_party/cgit/ui-blame.c +++ b/third_party/cgit/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); -- cgit 1.4.1