summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2025-05-12 14:52:33 -0400
committerJunio C Hamano <gitster@pobox.com>2025-05-12 13:06:27 -0700
commit4b63963f5d729cb9eb997c8912b7d500ffc53297 (patch)
treebe36f9aae91093dee649de7c15ddbd5b17947824 /builtin/commit-graph.c
parent596184786c1b1998573df4c130eadb1668d8c304 (diff)
raw_object_store: drop extra pointer to replace_map
We store the replacement data in an oidmap, which is itself a pointer in the raw_object_store struct. But there's no need for an extra pointer indirection here. It is always allocated and initialized along with the containing struct, and we never check it for NULL-ness. Let's embed the map directly in the struct, which is simpler and avoids extra pointer chasing. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions