From 39a3a2641c1b97e6a4c7e1c9bb405236a7c2e5c3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Mar 2014 15:12:54 -0400 Subject: Improve memory usage when git fsck finds a great many broken objects. From 1.7 gb to 900 mb on 300 thousand unique reported shas. When shas are not unique, this streams much better than before, so won't buffer the full list before putting them into the Set and throwing away dups. And when fsck output includes ignorable lines, especially dangling object lines, they won't be buffered in memory at all. --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'debian/changelog') diff --git a/debian/changelog b/debian/changelog index 3ac62ab..9a3560b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +git-repair (1.20140228) UNRELEASED; urgency=medium + + * Improve memory usage when git fsck finds a great many broken objects. + + -- Joey Hess Mon, 10 Mar 2014 15:09:30 -0400 + git-repair (1.20140227) unstable; urgency=medium * Optimise unpacking of pack files, and avoid repeated error -- cgit v1.2.3