summaryrefslogtreecommitdiff
path: root/CmdLine.hs
diff options
context:
space:
mode:
Diffstat (limited to 'CmdLine.hs')
-rw-r--r--CmdLine.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/CmdLine.hs b/CmdLine.hs
index 63d36c74c..050f119f1 100644
--- a/CmdLine.hs
+++ b/CmdLine.hs
@@ -24,6 +24,7 @@ import qualified Git
import qualified Git.AutoCorrect
import Annex.Content
import Annex.Ssh
+import Annex.Environment
import Command
type Params = [String]
@@ -39,6 +40,7 @@ dispatch fuzzyok allargs allcmds commonoptions fields header getgitrepo = do
Right g -> do
state <- Annex.new g
(actions, state') <- Annex.run state $ do
+ checkEnvironment
checkfuzzy
forM_ fields $ uncurry Annex.setField
sequence_ flags