summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-01-07 03:37:29 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-08 09:41:06 -0800
commitd7a245730b4397e50592e1f4ebce765f7fbf5f93 (patch)
tree958f07595a81f0465160353d718b522d26e7cedf /cache-tree.c
parentsha1-file: modernize loose header/stream functions (diff)
downloadtgif-d7a245730b4397e50592e1f4ebce765f7fbf5f93.tar.xz
sha1-file: convert pass-through functions to object_id
These two static functions, read_object() and quick_has_loose(), both have to hashcpy() their bare-sha1 arguments into object_id structs to pass them along. Since all of their callers actually have object_id structs in the first place, we can eliminate the copying by adjusting their input parameters. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions