summaryrefslogtreecommitdiffstats
path: root/refspec.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-12-27 11:46:27 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-27 17:11:46 +0100
commit1ab5948141e62b52bcb812b04a901b3efaf1b578 (patch)
tree781b16ec10e4fd1340290242c6c52548824736df /refspec.h
parentbuiltin/log: use `size_t` to track indices (diff)
downloadgit-1ab5948141e62b52bcb812b04a901b3efaf1b578.tar.xz
git-1ab5948141e62b52bcb812b04a901b3efaf1b578.zip
builtin/log: fix remaining -Wsign-compare warnings
Fix remaining -Wsign-compare warnings in "builtin/log.c" and mark the file as -Wsign-compare-clean. While most of the fixes are obvious, one fix requires us to use `cast_size_t_to_int()`, which will cause us to die in case the `size_t` cannot be represented as `int`. This should be fine though, as the data would typically be set either via a config key or via the command line, neither of which should ever exceed a couple of kilobytes of data. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refspec.h')
0 files changed, 0 insertions, 0 deletions