Subject: Re: [GSoC][PATCH 3/4] repo: add path.gitdir with absolute and relative suffix formatting

From: Lucas Seiki Oshiro <[email-masked]>
Date: Mon, 1 Jun 2026 13:28:57 -0300

> +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`