summaryrefslogtreecommitdiff
path: root/t/t5515/refs.br-remote-glob-merge
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-01-22 18:58:07 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-23 11:02:40 -0800
commit83fc4d64fec779d73b18494461613ef911236daf (patch)
tree74185498a5c854e0c034059b2efd060e8c2715a9 /t/t5515/refs.br-remote-glob-merge
parentstring-list: use QSORT_S in string_list_sort() (diff)
downloadtgif-83fc4d64fec779d73b18494461613ef911236daf.tar.xz
ref-filter: use QSORT_S in ref_array_sort()
Pass the array of sort keys to compare_refs() via the context parameter of qsort_s() instead of using a global variable; that's cleaner and simpler. If ref_array_sort() is to be called from multiple parallel threads then care still needs to be taken that the global variable used_atom is not modified concurrently. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.br-remote-glob-merge')
0 files changed, 0 insertions, 0 deletions