Re: [PATCH 1/2] bundle-uri: ignore bundles without uri
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 16, 2025, 16:59 UTC
- Message-ID
- <xmqq4it2nxjw.fsf@gitster.g>
- In-Reply-To
- <87bjnao1vd.fsf@iotcl.com>
Toon Claes <toon@iotcl.com> writes:
Show 8 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> I tend to agree. Instead of papering over a misconfiguration, it
>> would be better to let the users know, so they have a chance to
>> report and/or correct such a misconfiguration.
>
> So are you okay if I do `return error("some message")` instead of
> `return -1`, or do you expect more of a change?I am not sure what you are asking. The comment was more about my preference of honestly returning failure with explanation over pretending success without actually doing anything, wasn't it?