Re: [PATCH 1/5] string-list: report programming error with BUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 31, 2025 at 2:40 AM Junio C Hamano <gitster@xxxxxxxxx> wrote:
> Passing a string list that has .strdup_strings bit unset to
> string_list_split(), orone that has .strdup_strings bit set to
> string_list_split_in_place(), is a programmer error.  Do not use
> die() to abort the execution.  Use BUG() instead.

s/orone/or one/

> As a developer-facing message, the message string itself should
> be a lot more concise, but let's keep the original one for now.
>
> Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx>





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux