Re: [PATCH v2 7/7] string-list: split-then-remove-empty can be done while splitting

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

 



On Thu, Jul 31, 2025 at 03:46:06PM -0700, Junio C Hamano wrote:
> Thanks to the new STRING_LIST_SPLIT_NONEMPTY flag, a common pattern
> to split a string into a string list and then remove empty items in
> the resulting list is no longer needed.  Instead, just tell the
> string_list_split*() to omit empty ones while splitting.

Neat.

Patrick




[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