summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-12-27 12:25:30 -0800
committerJunio C Hamano <gitster@pobox.com>2024-12-27 12:25:30 -0800
commit24027256aa9614a445563707a72af7ce5ff49b5b (patch)
treea47b937fcb4fab8b088ea8855ede04113fd3355a /commit.c
parent5e7fe8a7b89a07d8c3ab298ac69bc33f6ba88b47 (diff)
sign-compare: avoid comparing ptrdiff with an int/unsigned
Instead, offset the base pointer with integer and compare it with the other pointer. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions