Merge branch 'bc/hash-transition-part-15'
authorJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2018 06:43:42 +0000 (15:43 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Oct 2018 06:43:42 +0000 (15:43 +0900)
commitd829d491eebddc2eefcaa9279ac4b67c7eefbd52
treecb639ce3f677d995b42a3537d00ee74b8b4797c6
parent7dc3e5a3be73cf0cbb5f3af6d8e3bb10c70cca3e
parent0d7c419a94b7524ac854d5a6002b7541abab4f12
Merge branch 'bc/hash-transition-part-15'

More codepaths are moving away from hardcoded hash sizes.

* bc/hash-transition-part-15:
  rerere: convert to use the_hash_algo
  submodule: make zero-oid comparison hash function agnostic
  apply: rename new_sha1_prefix and old_sha1_prefix
  apply: replace hard-coded constants
  tag: express constant in terms of the_hash_algo
  transport: use parse_oid_hex instead of a constant
  upload-pack: express constants in terms of the_hash_algo
  refs/packed-backend: express constants using the_hash_algo
  packfile: express constants in terms of the_hash_algo
  pack-revindex: express constants in terms of the_hash_algo
  builtin/fetch-pack: remove constants with parse_oid_hex
  builtin/mktree: remove hard-coded constant
  builtin/repack: replace hard-coded constants
  pack-bitmap-write: use GIT_MAX_RAWSZ for allocation
  object_id.cocci: match only expressions of type 'struct object_id'
apply.c
pack-bitmap-write.c
packfile.c
rerere.c
transport.c
upload-pack.c