summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-27 17:09:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-27 17:09:22 -0400
commit6dfae19b1b1535869fb4fb5ad2aba6ada24ddeef (patch)
tree3ac4b48927286ace92ce182e84c5c13ec45e531a /Command/Copy.hs
parente0518a4adc250da1ad088c4362016627e1effb08 (diff)
add
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r--Command/Copy.hs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
new file mode 100644
index 000000000..aa55731d9
--- /dev/null
+++ b/Command/Copy.hs
@@ -0,0 +1,15 @@
+{- git-annex command
+ -
+ - Copyright 2010 Joey Hess <joey@kitenet.net>
+ -
+ - Licensed under the GNU GPL version 3 or higher.
+ -}
+
+module Command.Copy where
+
+import Command
+import qualified Command.Move
+
+-- A copy is just a move that does not delete the source file.
+seek :: [SubCmdSeek]
+seek = [withFilesInGit $ Command.Move.start False]