Merge branch 'bc/hash-algo'
commit0fd90daba84a165adda7cd4721fcd009e0bebc56
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2018 22:55:47 +0000 (15 14:55 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2018 22:55:47 +0000 (15 14:55 -0800)
tree5b7b7c55f964a4aa856ac5d0f2a814c29538ccfc
parent0dbd562cc4bea7f51f63e5786b84730d5e6a64a2
parentb212c0ca318bc4757b051080f8622796c4524890
Merge branch 'bc/hash-algo'

More abstraction of hash function from the codepath.

* bc/hash-algo:
  hash: update obsolete reference to SHA1_HEADER
  bulk-checkin: abstract SHA-1 usage
  csum-file: abstract uses of SHA-1
  csum-file: rename sha1file to hashfile
  read-cache: abstract away uses of SHA-1
  pack-write: switch various SHA-1 values to abstract forms
  pack-check: convert various uses of SHA-1 to abstract forms
  fast-import: switch various uses of SHA-1 to the_hash_algo
  sha1_file: switch uses of SHA-1 to the_hash_algo
  builtin/unpack-objects: switch uses of SHA-1 to the_hash_algo
  builtin/index-pack: improve hash function abstraction
  hash: create union for hash context allocation
  hash: move SHA-1 macros to hash.h
builtin/index-pack.c
builtin/pack-objects.c
builtin/unpack-objects.c
cache.h
read-cache.c
sha1_file.c