From: Junio C Hamano Date: Mon, 01 Jun 2026 23:09:08 GMT Subject: Re: [GSoC][PATCH 3/4] repo: add path.gitdir with absolute and relative suffix formatting Message-ID: In-Reply-To: Lucas Seiki Oshiro writes: >> +test_repo_info_path () { >> + field_name=$1 >> + expect_relative=$2 >> + >> + test_expect_success "query individual key: path.$field_name.absolute" ' >> + ( >> + cd test-repo/sub && >> + expect_absolute=$(cd .. && pwd)/.git && > > Note that this semi-hardcoded path won't work for other values (e.g. > top level dir, superproject working tree). This needs to be a parameter > just like `expect_relative` Good thinking. Thanks for carefully reading.