import -J fails at the end, disable util it can be fixed
This commit is contained in:
parent
7dc90f2225
commit
362ab39aad
2 changed files with 2 additions and 7 deletions
|
@ -21,7 +21,7 @@ import Annex.CheckIgnore
|
||||||
import Annex.NumCopies
|
import Annex.NumCopies
|
||||||
|
|
||||||
cmd :: Command
|
cmd :: Command
|
||||||
cmd = withGlobalOptions (jobsOption : fileMatchingOptions) $ notBareRepo $
|
cmd = withGlobalOptions fileMatchingOptions $ notBareRepo $
|
||||||
command "import" SectionCommon
|
command "import" SectionCommon
|
||||||
"move and add files from outside git working copy"
|
"move and add files from outside git working copy"
|
||||||
paramPaths (seek <$$> optParser)
|
paramPaths (seek <$$> optParser)
|
||||||
|
@ -59,7 +59,7 @@ duplicateModeParser =
|
||||||
)
|
)
|
||||||
|
|
||||||
seek :: ImportOptions -> CommandSeek
|
seek :: ImportOptions -> CommandSeek
|
||||||
seek o = allowConcurrentOutput $ do
|
seek o = do
|
||||||
repopath <- liftIO . absPath =<< fromRepo Git.repoPath
|
repopath <- liftIO . absPath =<< fromRepo Git.repoPath
|
||||||
inrepops <- liftIO $ filter (dirContains repopath) <$> mapM absPath (importFiles o)
|
inrepops <- liftIO $ filter (dirContains repopath) <$> mapM absPath (importFiles o)
|
||||||
unless (null inrepops) $ do
|
unless (null inrepops) $ do
|
||||||
|
|
|
@ -66,11 +66,6 @@ Several options can be used to adjust handling of duplicate files.
|
||||||
|
|
||||||
git annex import /dir --include='*.png'
|
git annex import /dir --include='*.png'
|
||||||
|
|
||||||
* `--jobs=N` `-JN`
|
|
||||||
|
|
||||||
Imports multiple files in parallel. This may be faster.
|
|
||||||
For example: `-J4`
|
|
||||||
|
|
||||||
# CAVEATS
|
# CAVEATS
|
||||||
|
|
||||||
Note that using `--deduplicate` or `--clean-duplicates` with the WORM
|
Note that using `--deduplicate` or `--clean-duplicates` with the WORM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue