summaryrefslogtreecommitdiff
path: root/Types/ActionItem.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-10-17 17:54:38 -0400
committerJoey Hess <joeyh@joeyh.name>2017-10-17 18:48:53 -0400
commite1ac299ad070d655ba315000c31902cc7cb6ba30 (patch)
treeaac60a2b302b68127da53cbcd160874b1589c1b3 /Types/ActionItem.hs
parent68a49adcda7b71dbd3309edb4092c8e124f511d4 (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/ActionItem.hs')
-rw-r--r--Types/ActionItem.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Types/ActionItem.hs b/Types/ActionItem.hs
index 0b53bec018..73d8451017 100644
--- a/Types/ActionItem.hs
+++ b/Types/ActionItem.hs
@@ -10,7 +10,6 @@
module Types.ActionItem where
import Key
-import Types
import Types.Transfer
import Git.FilePath