rev-list: memory usage reduction.
authorJunio C Hamano <junkio@cox.net>
Wed, 29 Mar 2006 01:28:04 +0000 (17:28 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 29 Mar 2006 01:29:09 +0000 (17:29 -0800)
commit9181ca2c2b1f2897baa67ff8e48b1984822115b5
tree73088b42320886b49064cb0517548fb373c3e648
parent5cdeae71ea7330c08cf96b581e2c7696949e3840
rev-list: memory usage reduction.

We do not need to track object refs, neither we need to save commit
unless we are doing verbose header.  A lot of traversal happens
inside prepare_revision_walk() these days so setting things up before
calling that function is necessary.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Acked-by: Linus Torvalds <torvalds@osdl.org>
rev-list.c