git-annex/CmdLine
Joey Hess 9a5cd96f0d
Fix a memory leak introduced in the last release
The problem was this line:

	cleanup = and <$> sequence (map snd v)

That caused all of v to be held onto until the end, when the cleanup action
was run.

I could not seem to find a bang pattern that avoided the leak, so I
resorted to a IORef, rather clunky, but not a performance problem because
it will only be written once per git ls-files, so typically just 1 time.

This commit was sponsored by Mark Reidenbach on Patreon.
2020-10-13 16:31:01 -04:00
..
GitAnnex differentiate between concurrency enabled at command line and by git config 2020-09-16 11:47:12 -04:00
GitAnnexShell wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Action.hs avoid interleaving command stages with Concurrency 1 2020-09-16 12:10:45 -04:00
Batch.hs allow matching on files whose content is not present 2020-09-28 11:17:46 -04:00
GitAnnex.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
GitAnnexShell.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GitRemoteTorAnnex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GlobalSetter.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Option.hs rename changeGitConfig to overrideGitConfig and avoid unncessary calls 2020-02-27 01:11:53 -04:00
Seek.hs Fix a memory leak introduced in the last release 2020-10-13 16:31:01 -04:00
Usage.hs initremote --describe-other-params 2020-01-20 16:05:51 -04:00