author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 2 Jun 2005 14:57:25 +0000 (07:57 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Thu, 2 Jun 2005 14:57:25 +0000 (07:57 -0700) | ||
commit | 5180cacc202bb20b15981469487eb8d6b0509997 | |
tree | 186bfccb121679411cfecba5c276483809b7ec31 | tree | snapshot |
parent | c4483576b8d30fadcae208d8f12383febd060d0a | commit | diff |
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.
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 | diff | blob | history | |
sha1_file.c | diff | blob | history |