summaryrefslogtreecommitdiff
path: root/builtin/index-pack.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-01-07 08:37:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-08 17:41:06 (GMT)
commitd7a245730b4397e50592e1f4ebce765f7fbf5f93 (patch)
tree958f07595a81f0465160353d718b522d26e7cedf /builtin/index-pack.c
parent00a7760e81e067cdfb6113e02d141d508529ffc7 (diff)
downloadgit-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 'builtin/index-pack.c')
0 files changed, 0 insertions, 0 deletions