diff: release blobs after generating textual diff.
commitfc3abdf5cb16914fb22747d7c3fb44258712a36d
authorJunio C Hamano <junkio@cox.net>
Thu, 3 May 2007 20:05:48 +0000 (3 13:05 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 7 May 2007 22:54:32 +0000 (7 15:54 -0700)
treeae601e3fbee59e68acf307689fbfdf6af4ea0d19
parent3082acfa7c626a34aa419a163585051c2df2bf09
diff: release blobs after generating textual diff.

This reduces the memory pressure when dealing with many paths.

An unscientific test of running "diff-tree --stat --summary -M"
between v2.6.19 and v2.6.20-rc1 in the linux kernel repository
indicates that the number of minor faults are reduced by 2/3.

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