Skip to content
  • Junio C Hamano's avatar
    Merge branch 'bc/hash-transition-part-15' · d829d491
    Junio C Hamano authored
    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'
    d829d491