Re: What's cooking in git.git (Jul 2020, #06; Thu, 30)

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

 



Jeff King <peff@xxxxxxxx> writes:

> On Thu, Jul 30, 2020 at 04:47:04PM -0700, Junio C Hamano wrote:
>
>> * jk/strvec (2020-07-28) 11 commits
>>  - strvec: rename struct fields
>>  - strvec: drop argv_array compatibility layer
>>  - strvec: update documention to avoid argv_array
>>  - strvec: fix indentation in renamed calls
>>  - strvec: convert remaining callers away from argv_array name
>>  - strvec: convert more callers away from argv_array name
>>  - strvec: convert builtin/ callers away from argv_array name
>>  - quote: rename sq_dequote_to_argv_array to mention strvec
>>  - strvec: rename files from argv-array to strvec
>>  - argv-array: rename to strvec
>>  - argv-array: use size_t for count and alloc
>> 
>>  The argv_array API is useful for not just managing argv but any
>>  "vector" (NULL-terminated array) of strings, and has seen adoption
>>  to a certain degree.  It has been renamed to "strvec" to reduce the
>>  barrier to adoption.
>> 
>>  Will merge to 'next'.
>
> Do we want to do the s/items/v/ thing before it gets merged to next?

I do want to get rid of that items[] thing.  An array with a plural
name that is accessed one element at a time a lot more often than
referred to as a collection as a whole is simply stupid.

> I already posted a replacement top patch in the thread:
>
>   https://lore.kernel.org/git/20200729003720.GA1653374@xxxxxxxxxxxxxxxxxxxxxxx/
>
> and I don't think anything else needed a re-roll.

I missed that one.  Will replace and adjust the conflict resolution
but I'll have to wait for my attention/focus to be recharged before
doing so.

Thanks for reminding.




[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