MCPcopy Index your code
hub / github.com/git/git / string_list_sort

Function string_list_sort

string-list.c:243–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void string_list_sort(struct string_list *list)
244{
245 struct string_list_sort_ctx sort_ctx = {list->cmp ? list->cmp : strcmp};
246
247 QSORT_S(list->items, list->nr, cmp_items, &sort_ctx);
248}
249
250void string_list_sort_u(struct string_list *list, int free_util)
251{

Callers 15

process_entriesFunction · 0.70
protocol_allow_listFunction · 0.70
fetch_submodulesFunction · 0.70
report_collided_checkoutFunction · 0.70
push_levelFunction · 0.70
report_pack_garbageFunction · 0.70
add_missing_tagsFunction · 0.70
prepare_ref_indexFunction · 0.70

Calls

no outgoing calls

Tested by 3

print_sorted_commit_idsFunction · 0.40
cmd__string_listFunction · 0.40