]> git.99rst.org Git - git.git/commit
reftable/writer: drop Git-specific `QSORT()` macro
authorPatrick Steinhardt <redacted>
Tue, 12 Aug 2025 09:54:16 +0000 (11:54 +0200)
committerJunio C Hamano <redacted>
Tue, 12 Aug 2025 14:40:59 +0000 (07:40 -0700)
commitd4a2159a78432d787c3f198a58c718b4b4e3d9bb
tree581fb8e5803819a59690f76f903f2b7bdfd08b6c
parent9077923c8ea83f7023c86c517f080396bf96dbb3
reftable/writer: drop Git-specific `QSORT()` macro

The reftable writer accidentally uses the Git-specific `QSORT()` macro.
This macro removes the need for the caller to provide the element size,
but other than that it's mostly equivalent to `qsort()`.

Replace the macro accordingly to make the library usable outside of Git.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
reftable/writer.c
git clone https://git.99rst.org/PROJECT