Fix memory leak when committing millions of changes to the git-annex branch

Eg after git-annex add has run on 2 million files in one go.

Slightly unhappy with the neeed to use a temp file here, but I cannot see
any other alternative (see comments on the bug report).

This commit was sponsored by Hamish Coleman.
This commit is contained in:
Joey Hess 2014-07-04 15:28:07 -04:00
parent 326fdffce9
commit e6330988dd
Failed to extract signature
3 changed files with 23 additions and 3 deletions

2
debian/changelog vendored
View file

@ -16,6 +16,8 @@ git-annex (5.20140614) UNRELEASED; urgency=medium
* Android: patch git to avoid fchmod, which fails on /sdcard.
* Support users who have set commit.gpgsign, by disabling gpg signatures
for git-annex branch commits and commits made by the assistant.
* Fix memory leak when committing millions of changes to the git-annex
branch, eg after git-annex add has run on 2 million files in one go.
-- Joey Hess <joeyh@debian.org> Mon, 16 Jun 2014 11:28:42 -0400