author | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | |
Tue, 19 Apr 2005 16:52:24 +0000 (09:52 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org.(none)> | |
Tue, 19 Apr 2005 16:52:24 +0000 (09:52 -0700) | ||
commit | 3b7d368f34715003c834233d9f23456bcb62b44a | |
tree | c3963ca87888c3957622af0558c62e519fdd3b70 | tree | snapshot |
parent | 0a9ea850005de0fb74b6288d281eb0417e869b00 | commit | diff |
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.
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 | diff | blob | history |