Merge branch 'jk/nth-packed-object-id'
commite8e71848ea866d7dc34eacffc20b9c3826ae29a1
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2020 18:43:03 +0000 (5 10:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2020 18:43:03 +0000 (5 10:43 -0800)
tree3baa258f1b1a5671948b7677169b0af70a06dc06
parenta0ab37de61c9ac7f57105d6b170947abaf1b642c
parent2fecc48cade44529dff2594eadfb294643cdc24d
Merge branch 'jk/nth-packed-object-id'

Code cleanup to use "struct object_id" more by replacing use of
"char *sha1"

* jk/nth-packed-object-id:
  packfile: drop nth_packed_object_sha1()
  packed_object_info(): use object_id internally for delta base
  packed_object_info(): use object_id for returning delta base
  pack-check: push oid lookup into loop
  pack-check: convert "internal error" die to a BUG()
  pack-bitmap: use object_id when loading on-disk bitmaps
  pack-objects: use object_id struct in pack-reuse code
  pack-objects: convert oe_set_delta_ext() to use object_id
  pack-objects: read delta base oid into object_id struct
  nth_packed_object_oid(): use customary integer return
builtin/pack-objects.c
pack-bitmap.c