From: Patrick Steinhardt Date: Mon, 05 Jan 2026 14:18:41 GMT Subject: Re: [PATCH v2 1/2] repo: add a default output format to enum output_format Message-ID: In-Reply-To: <20251209194616.61620-2-lucasseikioshiro@gmail.com> On Tue, Dec 09, 2025 at 04:36:02PM -0300, Lucas Seiki Oshiro wrote: > Add a `FORMAT_DEFAULT` value to `enum output_format`. Change the initial > value of `format` to `FORMAT_DEFAULT` in cmd_repo_info, indicating that > the initial value hasn't been changed. Also map the string "default" to > this new value in `parse_format_cb`, allowing future patches to add > support to --format=default. This is missing a test. It would for example be nice to verify that "--format=nul --format=default" does the expected thing. Also, I didn't see `git repo structure` being updated. Should we do that so that both subcommands know to handle the "default" format? Patrick