sha1-name: make sort_ambiguous_oid_array() thread-safe
authorRené Scharfe <redacted>
Tue, 20 Aug 2019 18:49:12 +0000 (20:49 +0200)
committerJunio C Hamano <redacted>
Tue, 20 Aug 2019 20:59:59 +0000 (13:59 -0700)
commit7cfcb16b0ebd8294b2158669e55b79445b48fb31
tree2c7f5ffa98348dcda605eebf5fd10cb9d469ad35
parent75b2f01a0f642b39b0f29b6218515df9b5eb798e
sha1-name: make sort_ambiguous_oid_array() thread-safe

Use QSORT_S instead of QSORT, which allows passing the repository
pointer to the comparison function without using a static variable.

Signed-off-by: René Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
sha1-name.c
git clone https://git.99rst.org/PROJECT