diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-10-17 17:54:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-10-17 18:48:53 -0400 |
commit | 2d31b1e209f0dd1787f2ff9fac0e55f9e1216754 (patch) | |
tree | 5a287c1c71c2da572f395799544b7773cfc69960 /Types.hs | |
parent | f31dbb13cad2e8e1b29180fff755026256eabd57 (diff) |
better dup key with -J fix
This avoids all the complication about redundant work discussed in
the previous try at fixing this. At the expense of needing each command
that could have the problem to be patched to simply wrap the action in
onlyActionOn once the key is known. But there do not seem to be many
such commands.
onlyActionOn' should not be used with a CommandStart (or CommandPerform),
although the types do allow it. onlyActionOn handles running the whole
CommandStart chain. I couldn't immediately see a way to avoid mistken
use of onlyActionOn'.
This commit was supported by the NSF-funded DataLad project.
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -15,8 +15,6 @@ module Types ( RemoteGitConfig(..), Remote, RemoteType, - Transfer, - TransferInfo, ) where import Annex @@ -25,9 +23,7 @@ import Types.GitConfig import Types.Key import Types.UUID import Types.Remote -import Types.Transfer type Backend = BackendA Annex type Remote = RemoteA Annex type RemoteType = RemoteTypeA Annex -type TransferInfo = TransferInfoA Annex |