summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-01-05 17:16:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-01-05 17:17:04 -0400
commited66c698e62ac72a4db60a60365e52a18c3caae3 (patch)
tree1e7b05ae8ef8be8e1b42d475662e8ab35bd00e87 /Command/Copy.hs
parenta5031031f0d596b2381a785925beb574d90a862e (diff)
More commands work in direct mode repositories: find, whereis, move, copy, drop, log.
These started working, for free, once lookupFile supported direct mode. yay!!
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r--Command/Copy.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
index 08c95369b..6967c2f93 100644
--- a/Command/Copy.hs
+++ b/Command/Copy.hs
@@ -14,9 +14,8 @@ import qualified Remote
import Annex.Wanted
def :: [Command]
-def = [notDirect $
- withOptions Command.Move.options $ command "copy" paramPaths seek
- "copy content of files to/from another repository"]
+def = [withOptions Command.Move.options $ command "copy" paramPaths seek
+ "copy content of files to/from another repository"]
seek :: [CommandSeek]
seek = [withField Command.Move.toOption Remote.byName $ \to ->