git-annex/Command
Joey Hess 5594bf0643 more zombie fighting
I'm down to 9 places in the code that can produce unwaited for zombies.

Most of these are pretty innocuous, at least for now, are only
used in short-running commands, or commands that run a set of
actions and explicitly reap zombies after each one.

The one from Annex.Branch.files could be trouble later,
since both Command.Fsck and Command.Unused can trigger it,
and the assistant will be doing those eventally. Ditto the one in
Git.LsTree.lsTree, which Command.Unused uses.

The only ones currently affecting the assistant though, are
in Git.LsFiles. Several threads use several of those.

(And yeah, using pipes or ResourceT would be a less ad-hoc approach,
but I don't really feel like ripping my entire code base apart right
now to change a foundation monad. Maybe one of these days..)
2012-10-04 18:47:31 -04:00
..
Add.hs maintain set of files pendingAdd 2012-06-20 16:31:46 -04:00
AddUnused.hs add routes to pause/start/cancel transfers 2012-08-08 16:20:24 -04:00
AddUrl.hs maintain set of files pendingAdd 2012-06-20 16:31:46 -04:00
Assistant.hs hlint 2012-09-13 00:57:52 -04:00
Commit.hs fishy commit 2012-06-14 00:01:48 -04:00
ConfigList.hs more descriptive name for oneshot 2012-09-15 20:46:38 -04:00
Copy.hs copy, drop: Avoid checking numcopies attribute unnecessarily 2012-07-10 11:53:45 -06:00
Dead.hs add 2011-12-02 19:22:43 -04:00
Describe.hs lint 2011-11-11 01:52:58 -04:00
Drop.hs copy, drop: Avoid checking numcopies attribute unnecessarily 2012-07-10 11:53:45 -06:00
DropKey.hs more descriptive name for oneshot 2012-09-15 20:46:38 -04:00
DropUnused.hs factor out nukeFile 2012-06-06 13:13:13 -04:00
Find.hs add routes to pause/start/cancel transfers 2012-08-08 16:20:24 -04:00
Fix.hs extend Git.Queue to be able to queue more than simple git commands 2012-06-07 15:19:44 -04:00
FromKey.hs add routes to pause/start/cancel transfers 2012-08-08 16:20:24 -04:00
Fsck.hs rename option 2012-09-25 19:43:33 -04:00
Get.hs make the assistant retry failed transfers 2012-09-23 13:27:13 -04:00
Group.hs simplify 2012-10-01 15:17:21 -04:00
Import.hs import: New subcommand, pulls files from a directory outside the annex and adds them 2012-05-31 19:47:18 -04:00
InAnnex.hs more descriptive name for oneshot 2012-09-15 20:46:38 -04:00
Init.hs init: When run in an already initalized repository, and without a description specified, don't delete the old description. 2011-11-12 15:42:52 -04:00
InitRemote.hs initremote: Avoid recording remote's description before checking that its config is valid. 2012-07-27 21:05:27 -04:00
Lock.hs extend Git.Queue to be able to queue more than simple git commands 2012-06-07 15:19:44 -04:00
Log.hs more zombie fighting 2012-10-04 18:47:31 -04:00
Map.hs add back debug logging 2012-07-19 00:46:52 -04:00
Merge.hs improve alwayscommit=false mode 2012-02-25 16:18:55 -04:00
Migrate.hs migrate: Check content before generating the new key, to avoid generating a key for corrupt data. 2012-09-14 00:18:18 -04:00
Move.hs copy: avoid updating location log when no copy is performed 2012-09-24 19:58:34 -04:00
PreCommit.hs added ifM and nuked 11 lines of code 2012-03-14 17:43:34 -04:00
RecvKey.hs typo 2012-09-19 17:10:22 -04:00
Reinject.hs reinject: When the provided file doesn't match, leave it where it is, rather than moving to .git/annex/bad/ 2012-09-16 01:17:48 -04:00
ReKey.hs add routes to pause/start/cancel transfers 2012-08-08 16:20:24 -04:00
Semitrust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
SendKey.hs make the assistant retry failed transfers 2012-09-23 13:27:13 -04:00
Status.hs vicfg: New command, allows editing (or simply viewing) most of the repository configuration settings stored in the git-annex branch. 2012-10-03 17:04:52 -04:00
Sync.hs sync: Pushes the git-annex branch to remote/synced/git-annex, rather than directly to remote/git-annex. 2012-09-16 17:54:12 -04:00
TransferInfo.hs fixes for transfer resume 2012-09-24 13:18:16 -04:00
TransferKey.hs quiet calls to transferkey 2012-09-24 13:36:05 -04:00
Trust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Unannex.hs Support git's core.sharedRepository configuration 2012-04-21 15:36:52 -04:00
Ungroup.hs simplify 2012-10-01 15:17:21 -04:00
Uninit.hs make a pipeReadStrict, that properly waits on the process 2012-10-04 18:04:09 -04:00
Unlock.hs better file mode setting code 2012-04-21 16:01:56 -04:00
Untrust.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Unused.hs make a pipeReadStrict, that properly waits on the process 2012-10-04 18:04:09 -04:00
Upgrade.hs clean up check selection code 2011-10-29 15:19:05 -04:00
Version.hs more descriptive name for oneshot 2012-09-15 20:46:38 -04:00
Vicfg.hs added preferred-content log, and allow editing it with vicfg 2012-10-04 16:00:19 -04:00
Watch.hs full autostart support 2012-08-02 00:42:33 -04:00
WebApp.hs make the standalone OSX app automatically install itself when run 2012-09-26 16:50:04 -04:00
Whereis.hs more descriptive name for oneshot 2012-09-15 20:46:38 -04:00