hash: move SHA-1 macros to hash.h
commit164e716330a65dc6770cace76110375a20c45dea
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 1 Feb 2018 02:18:37 +0000 (1 02:18 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 19:28:40 +0000 (2 11:28 -0800)
tree22806ebbcdd5744663493fcaf0312d2882fe5a2c
parent5be1f00a9a701532232f57958efab4be8c959a29
hash: move SHA-1 macros to hash.h

Most of the other code dealing with SHA-1 and other hashes is located in
hash.h, which is in turn loaded by cache.h.  Move the SHA-1 macros to
hash.h as well, so we can use them in additional hash-related items in
the future.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
hash.h