Don't parse commit objects more than once.
authorLinus Torvalds <torvalds@ppc970.osdl.org.(none)>
Tue, 19 Apr 2005 16:52:24 +0000 (09:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org.(none)>
Tue, 19 Apr 2005 16:52:24 +0000 (09:52 -0700)
commit3b7d368f34715003c834233d9f23456bcb62b44a
treec3963ca87888c3957622af0558c62e519fdd3b70
parent0a9ea850005de0fb74b6288d281eb0417e869b00
Don't parse commit objects more than once.

Yes, the "parse_commit()" already checks for this condition, but
we need to check for it in rev-tree too, so that we don't start
walking the parent chain unnecessarily.
rev-tree.c