This commit is contained in:
Joey Hess 2015-11-04 17:13:20 -04:00
parent c6fc0945f3
commit c4d45ef83d
Failed to extract signature
3 changed files with 15 additions and 8 deletions

View file

@ -24,7 +24,7 @@ import System.Log.Logger (debugM)
import qualified Data.Set as S
cmd :: Command
cmd = withGlobalOptions annexedMatchingOptions $
cmd = withGlobalOptions (jobsOption : annexedMatchingOptions) $
command "drop" SectionCommon
"remove content of files from repository"
paramPaths (seek <$$> optParser)
@ -51,7 +51,8 @@ parseDropFromOption = parseRemoteOption $ strOption
)
seek :: DropOptions -> CommandSeek
seek o = withKeyOptions (keyOptions o) (autoMode o)
seek o = allowConcurrentOutput $
withKeyOptions (keyOptions o) (autoMode o)
(startKeys o)
(withFilesInGit $ whenAnnexed $ start o)
(dropFiles o)

6
debian/changelog vendored
View file

@ -1,8 +1,8 @@
git-annex (5.20151102.2) UNRELEASED; urgency=medium
* Use concurrent-output library.
* Additional commands now suppport the -J flag for running multiple
actions concurrently with nicely displayed messages: fsck
* Use concurrent-output library when configured with -fConcurrentOutput.
This allows nicely displayed messages when using the -J flag.
* Additional commands now suppport the -J flag: fsck, drop
-- Joey Hess <id@joeyh.name> Wed, 04 Nov 2015 12:50:20 -0400

View file

@ -55,6 +55,12 @@ safe to do so.
The [[git-annex-matching-options]](1)
can be used to specify files to drop.
* `--jobs=N` `-JN`
Runs multiple drop jobs in parallel. This is particularly useful
when git-annex has to contact remotes to check if it can drop files.
For example: `-J4`
# SEE ALSO
[[git-annex]](1)