From 0d82a887429e54052c5ea4e590e7f4ee093da6dc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 26 May 2020 11:47:54 -0400 Subject: [PATCH] drop: use commandStages, not transferStages I cannot find any rationalle for why this was changed before. drop certianly does not do any transfers, so commandStages will perform better. --- Command/Drop.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/Drop.hs b/Command/Drop.hs index 785b491ad5..cff5b7df27 100644 --- a/Command/Drop.hs +++ b/Command/Drop.hs @@ -52,7 +52,7 @@ parseDropFromOption = parseRemoteOption <$> strOption ) seek :: DropOptions -> CommandSeek -seek o = startConcurrency transferStages $ +seek o = startConcurrency commandStages $ case batchOption o of Batch fmt -> batchFilesMatching fmt (go . toRawFilePath) NoBatch -> withKeyOptions (keyOptions o) (autoMode o)