From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id E55771F9FC; Sat, 27 Mar 2021 20:20:46 +0000 (UTC) Date: Sat, 27 Mar 2021 20:20:45 +0000 From: Eric Wong To: meta@public-inbox.org Subject: [SQUASH] lei blob: use absolute path Message-ID: References: <20210327114551.3607-1-e@80x24.org> <20210327114551.3607-5-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210327114551.3607-5-e@80x24.org> List-Id: I found this bug because I /wasn't/ in an alternate git worktree :x --- lib/PublicInbox/LeiBlob.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/LeiBlob.pm b/lib/PublicInbox/LeiBlob.pm index a50255aa..2facbad3 100644 --- a/lib/PublicInbox/LeiBlob.pm +++ b/lib/PublicInbox/LeiBlob.pm @@ -69,7 +69,9 @@ sub do_solve_blob { # via wq_do $lei->{log_buf} = \$log_buf; my $git = $lei->ale->git; my $solver = bless { - gits => [ map { PublicInbox::Git->new($_) } @$git_dirs ], + gits => [ map { + PublicInbox::Git->new($lei->rel2abs($_)) + } @$git_dirs ], user_cb => \&solver_user_cb, uarg => $self, # -cur_di, -qsp, -msg => temporary fields for Qspawn callbacks