string_list API: document what "sorted" means
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 17 Sep 2012 15:21:07 +0000 (17:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Sep 2012 18:41:06 +0000 (11:41 -0700)
commit1959bf6430fda685c46241f220f521a01f9469b7
tree02e24eb8425d29c7501d8bddcd386501d19beb6b
parent65119878548f869270fbc8d382f042cca3a6ad05
string_list API: document what "sorted" means

The recent work on using string_list to represent the list of refs
that matched with the refs on the other side during fetch heavily
depends on the sort order by string_list's implementation, and
changing string_list will break it.  Document that it uses strcmp()
order, at least for now.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/api-string-list.txt