Code

Verify that the object type matches for tree/commit objects even before parsing.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 21:22:09 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 24 Apr 2005 21:22:09 +0000 (14:22 -0700)
commitc35dfe858991ee1969870d2da9337a1da567157e
treec7957a1345ea647b825c3a222d0c7e66cee2c311
parentd32987be618181db1f435a5c0a1bea85e90c7c7d
Verify that the object type matches for tree/commit objects even before parsing.

The type doesn't come from the parsing, the type also has to match the usage.
commit.c
tree.c