diff options
author | Joey Hess <joey@kitenet.net> | 2011-10-27 16:31:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-10-27 16:31:35 -0400 |
commit | 5b74b130a39d8c45e7d24520d838d6c1635582c7 (patch) | |
tree | 3d2816f028e7135a168d64c6342e1a2588260417 /Command/Add.hs | |
parent | 66194684acaf8dc5c72e5a163465b42050cf9212 (diff) |
refactored and generalized pre-command sanity checking
Diffstat (limited to 'Command/Add.hs')
-rw-r--r-- | Command/Add.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Add.hs b/Command/Add.hs index bfddd72ee..255e787b7 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -19,7 +19,7 @@ import Utility.Touch import Backend command :: [Command] -command = [repoCommand "add" paramPaths seek "add files to annex"] +command = [Command "add" paramPaths needsRepo seek "add files to annex"] {- Add acts on both files not checked into git yet, and unlocked files. -} seek :: [CommandSeek] |