builtin-prune: memory diet.
authorJunio C Hamano <junkio@cox.net>
Fri, 5 Jan 2007 21:31:43 +0000 (13:31 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 5 Jan 2007 21:31:43 +0000 (13:31 -0800)
commit16157b8074926348a9ee191ce6b50c8e1656161c
tree6c556b2e1a480611b57b60360a28356faa78567f
parent244a70e608204a515c214a11c43f3ecf7642533a
builtin-prune: memory diet.

Somehow we forgot to turn save_commit_buffer off while walking
the reachable objects.  Releasing the memory for commit object
data that we do not use matters for large projects (for example,
about 90MB is saved while traversing linux-2.6 history).

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-prune.c