aboutsummaryrefslogtreecommitdiff
path: root/Command/Add.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Add.hs')
-rw-r--r--Command/Add.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Command/Add.hs b/Command/Add.hs
index 649b466bb..586807b53 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -18,6 +18,10 @@ import Types
import Core
import Messages
+{- Add acts on both files not checked into git yet, and unlocked files. -}
+seek :: [SubCmdSeek]
+seek = [withFilesNotInGit start, withFilesUnlocked start]
+
{- The add subcommand annexes a file, storing it in a backend, and then
- moving it into the annex directory and setting up the symlink pointing
- to its content. -}