diff options
author | Jeff King <peff@peff.net> | 2019-01-07 03:37:29 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-08 09:41:06 -0800 |
commit | d7a245730b4397e50592e1f4ebce765f7fbf5f93 (patch) | |
tree | 958f07595a81f0465160353d718b522d26e7cedf /wt-status.h | |
parent | sha1-file: modernize loose header/stream functions (diff) | |
download | tgif-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 'wt-status.h')
0 files changed, 0 insertions, 0 deletions