From: Phillip Wood Date: Tue, 24 Jun 2025 14:03:01 GMT Subject: Re: [GSoC RFC PATCH v2 5/7] repo-info: add the field references.format Message-ID: <254e4819-a693-4fb7-aa92-260038cbfbe2@gmail.com> In-Reply-To: <20250619225751.99699-6-lucasseikioshiro@gmail.com> Hi Lucas On 19/06/2025 23:57, Lucas Seiki Oshiro wrote: > Add the field references.format to the repo-info command. The data > retrieved in this field is the same that currently is obtained by > running `git rev-parse --show-ref-format`. > > Mentored-by: Karthik Nayak > Mentored-by Patrick Steinhardt > Signed-off-by: Lucas Seiki Oshiro I've concentrated my comments on the tests as others have commented on the code itself. In general test bodies should be wrapped in single quotes rather than double quotes and one should prefer test_cmp() over test_line_count(). > +# Test if a field is correctly returned in both plaintext and json formats. > +# > +# Usage: test_repo_info