aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]