Subject: Re: [GSoC PATCH v8 5/5] repo: add the --format flag

From: Junio C Hamano <[email-masked]>
Date: Thu, 07 Aug 2025 08:44:57 -0700

Patrick Steinhardt <[email-masked]> writes:

>> +		default:
>> +			BUG("%d: not a valid output format", format);
>
> Nit: we typically say it the other way round.
>
> 	BUG("not a valid output format: %d", format);

It is in the coding guidelines

 - Say what the error is first ("cannot open '%s'", not "%s: cannot open").

but sometimes we forget.  Thanks for good eyes.