git/refs
Patrick Steinhardt 80c9e70ebe global: trivial conversions to fix `-Wsign-compare` warnings
We have a bunch of loops which iterate up to an unsigned boundary using
a signed index, which generates warnigs because we compare a signed and
unsigned value in the loop condition. Address these sites for trivial
cases and enable `-Wsign-compare` warnings for these code units.

This patch only adapts those code units where we can drop the
`DISABLE_SIGN_COMPARE_WARNINGS` macro in the same step.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-12-06 20:20:04 +09:00
..
debug.c global: trivial conversions to fix `-Wsign-compare` warnings 2024-12-06 20:20:04 +09:00
files-backend.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
iterator.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
packed-backend.c global: mark code units that generate warnings with `-Wsign-compare` 2024-12-06 20:20:02 +09:00
packed-backend.h refs/files: use heuristic to decide whether to repack with `--auto` 2024-09-04 08:03:24 -07:00
ref-cache.c ref-cache: fix invalid free operation in `free_ref_entry` 2024-11-27 04:34:37 +09:00
ref-cache.h refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
refs-internal.h Merge branch 'sj/ref-contents-check' 2024-12-04 10:14:42 +09:00
reftable-backend.c Merge branch 'sj/ref-contents-check' 2024-12-04 10:14:42 +09:00