diff options
author | Jeff King <peff@peff.net> | 2019-10-18 00:57:37 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-28 14:05:18 +0900 |
commit | 733902905d4db54612fef9755bb31fd35a89e76c (patch) | |
tree | 4296300d056b40a89692c756c5ba905f7ea1d3d5 /git.rc | |
parent | fsck_describe_object(): build on our get_object_name() primitive (diff) | |
download | tgif-733902905d4db54612fef9755bb31fd35a89e76c.tar.xz |
fsck: use oids rather than objects for object_name API
We don't actually care about having object structs; we only need to look
up decorations by oid. Let's accept this more limited form, which will
give our callers more flexibility.
Note that the decoration API we rely on uses object structs itself (even
though it only looks at their oids). We can solve this by switching to
a kh_oid_map (we could also use the hashmap oidmap, but it's more
awkward for the simple case of just storing a void pointer).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.rc')
0 files changed, 0 insertions, 0 deletions