summaryrefslogtreecommitdiff
path: root/Command/Import.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-11-05 18:48:46 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-11-05 18:48:46 -0400
commit261a91338392e5f904fdc05694b75a71f1faa17e (patch)
tree0c40c28ed9899d1c74df739869d8091e238710da /Command/Import.hs
parenteab4110a9010f1654724e712b8fe2d675132a7ef (diff)
import -J fails at the end, disable util it can be fixed
Diffstat (limited to 'Command/Import.hs')
-rw-r--r--Command/Import.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Import.hs b/Command/Import.hs
index 0dbf2e44a..14216ab73 100644
--- a/Command/Import.hs
+++ b/Command/Import.hs
@@ -21,7 +21,7 @@ import Annex.CheckIgnore
import Annex.NumCopies
cmd :: Command
-cmd = withGlobalOptions (jobsOption : fileMatchingOptions) $ notBareRepo $
+cmd = withGlobalOptions fileMatchingOptions $ notBareRepo $
command "import" SectionCommon
"move and add files from outside git working copy"
paramPaths (seek <$$> optParser)
@@ -59,7 +59,7 @@ duplicateModeParser =
)
seek :: ImportOptions -> CommandSeek
-seek o = allowConcurrentOutput $ do
+seek o = do
repopath <- liftIO . absPath =<< fromRepo Git.repoPath
inrepops <- liftIO $ filter (dirContains repopath) <$> mapM absPath (importFiles o)
unless (null inrepops) $ do