Factor out "read_sha1_file" into mapping/inflating/unmapping.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 21:42:29 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 21:42:29 +0000 (14:42 -0700)
commit24778e335a6450e34257a311d0bf4a12bdb3006c
treedb8e952afe1ad62c4bc5989ef3d2292ef4aa4d4f
parent19b2860cba5742ab31fd682b80fefefac19be141
Factor out "read_sha1_file" into mapping/inflating/unmapping.

This allows us to also actually check the sha1 hash using these
routines. Needed for the "fsck" thing.
cache.h
read-cache.c