commit | 5180cacc202bb20b15981469487eb8d6b0509997 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@ppc970.osdl.org> | Thu Jun 02 07:57:25 2005 -0700 |
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | Thu Jun 02 07:57:25 2005 -0700 |
tree | 186bfccb121679411cfecba5c276483809b7ec31 | |
parent | c4483576b8d30fadcae208d8f12383febd060d0a [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.