Split up unpack_sha1_file() some more
commit5180cacc202bb20b15981469487eb8d6b0509997
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Jun 2005 14:57:25 +0000 (2 07:57 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Jun 2005 14:57:25 +0000 (2 07:57 -0700)
tree186bfccb121679411cfecba5c276483809b7ec31
parentc4483576b8d30fadcae208d8f12383febd060d0a
Split up unpack_sha1_file() some more

Make a separate helper for parsing the header of an object file
(really carefully) and for unpacking the rest. This means that
anybody who uses the "unpack_sha1_header()" interface can easily
look at the header and decide to unpack the rest too, without
doing any extra work.
cache.h
sha1_file.c