Fix space leak in fsck and drop commands.
The space leak was somehow caused by this line: absfiles <- mapM absPath files I confess, I don't quite understand why this caused bad buffering, but apparently the whole pipeline from git-ls-files backed up at that point. Happily, rewriting the code to only get the cwd once and use a pure function to calculate absfiles clears it up, and should be a little more efficient in syscalls too.
This commit is contained in:
parent
5d75919561
commit
c1dc407941
4 changed files with 12 additions and 5 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -12,6 +12,7 @@ git-annex (0.20110321) UNRELEASED; urgency=low
|
|||
* fsck: In fast mode, avoid checking checksums.
|
||||
* unused: In fast mode, just show all existing temp files as unused,
|
||||
and avoid expensive scan for other unused content.
|
||||
* Fix space leak in fsck and drop commands.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 22 Mar 2011 16:52:00 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue