diff options
author | Jeff King <peff@peff.net> | 2019-01-07 08:37:29 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-08 17:41:06 (GMT) |
commit | d7a245730b4397e50592e1f4ebce765f7fbf5f93 (patch) | |
tree | 958f07595a81f0465160353d718b522d26e7cedf /git-send-email.perl | |
parent | 00a7760e81e067cdfb6113e02d141d508529ffc7 (diff) | |
download | git-d7a245730b4397e50592e1f4ebce765f7fbf5f93.zip git-d7a245730b4397e50592e1f4ebce765f7fbf5f93.tar.gz git-d7a245730b4397e50592e1f4ebce765f7fbf5f93.tar.bz2 |
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 'git-send-email.perl')
0 files changed, 0 insertions, 0 deletions