arrange for regional output manager to run when -J is enabled
authorJoey Hess <joeyh@joeyh.name>
Wed, 4 Nov 2015 20:19:00 +0000 (16:19 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 4 Nov 2015 20:22:43 +0000 (16:22 -0400)
commitc0c595345cfd094bd4d80afca158cbec2bbadf28
treec89731013f9604482936d75243d3374395fca476
parenta4dd8503b873898a399fe2877525ee43af7928ba
arrange for regional output manager to run when -J is enabled

Commands that want to use it have to run their seek action inside
allowConcurrentOutput. Which seems reasonable; perhaps some future command
will want to support the -J flag but not use regions.

The region state moved from Annex to MessageState. This makes sense
organizationally, and note that some uses of onLocal use a different Annex
state, but pass the MessageState into it, which is what is needed.
12 files changed:
Annex.hs
CmdLine.hs
CmdLine/Action.hs
CmdLine/GitAnnex/Options.hs
Command.hs
Command/Get.hs
Command/Mirror.hs
Command/Move.hs
Command/Sync.hs
Messages/Internal.hs
Messages/Progress.hs
Types/Messages.hs