diff options
author | Elijah Newren <newren@gmail.com> | 2020-01-07 15:07:30 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-07 17:12:36 (GMT) |
commit | 065027ee1a7b3ecc45b6d331983d38642835c451 (patch) | |
tree | 1f0ed643aed9e4d6c126432bfe5d7d0bba00010f /COPYING | |
parent | 53a06cf39b756eddfe4a2a34da93e3d04eb7b728 (diff) | |
download | git-065027ee1a7b3ecc45b6d331983d38642835c451.zip git-065027ee1a7b3ecc45b6d331983d38642835c451.tar.gz git-065027ee1a7b3ecc45b6d331983d38642835c451.tar.bz2 |
string-list: note in docs that callers can specify sorting function
In commit 1959bf6430 (string_list API: document what "sorted" means,
2012-09-17), Documentation/technical/api-string-list.txt was updated to
specify that strcmp() was used for sorting. In commit 8dd5afc926
(string-list: allow case-insensitive string list, 2013-01-07), a cmp
member was added to struct string_list to allow callers to specify an
alternative comparison function, but api-string-list.txt was not
updated. In commit 4f665f2cf3 (string-list.h: move documentation from
Documentation/api/ into header, 2017-09-26), the now out-dated
api-string-list.txt documentation was moved into string-list.h. Update
the docs to reflect the configurability of sorting.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions