]> git.ipfire.org Git - thirdparty/git.git/commit - object.c
object: convert internal hash_obj() to object_id
authorJeff King <peff@peff.net>
Thu, 20 Jun 2019 07:41:17 +0000 (03:41 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 17:19:37 +0000 (10:19 -0700)
commit46931d39389f2886e6c159674923345f024e1c64
treea72422ed1865233450d9ddc4eb5876799bba0613
parentd0229abd93e1115d935b0e55067e29bcc9815ce8
object: convert internal hash_obj() to object_id

Now that lookup_object() has an object_id, we can consistently pass that
around instead of a raw sha1. We still convert to a hash to pass to
sha1hash(), but the goal is for that to go away shortly.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object.c