Re: [PATCH v3 00/14] Clean up how fetch_pack() handles the heads list

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

 



Michael Haggerty <mhagger@xxxxxxxxxxxx> writes:

> It is interesting that you consider the sort order of string_list to be
> somewhat of an internal implementation detail.  I had thought of its
> current behavior as being the obvious thing and considered it part of
> the API's contract.  For example, the current sort order is already
> observable via the API through iteration or by calling
> print_string_list().

You can prepare an unsorted string list that holds items in the
order you desire, and call print_string_list() on it.  I do not
think we ever promised to keep using the same sort order when you
allow the string list to use sorted insertion by calling the
"sorted" API functions.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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]