summaryrefslogtreecommitdiff
path: root/Command/Add.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 12:46:00 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 12:46:00 -0400
commit7b5ddc7a4e972cfa3d14fbefc6610fddbfcff4b7 (patch)
treed5eb70b0659e897349b79e6674d5c201d192faa0 /Command/Add.hs
parentc5f532e7d7a13ed9f43fe9d50a1dc6521afce4f2 (diff)
whereis --batch
Diffstat (limited to 'Command/Add.hs')
-rw-r--r--Command/Add.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/Add.hs b/Command/Add.hs
index f2fcd2fb1..e85cdd6c1 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -55,8 +55,7 @@ seek o = allowConcurrentOutput $ do
, startSmall file
)
case batchOption o of
- Batch -> batchInput Right $
- batchCommandAction . gofile
+ Batch -> batchFiles gofile
NoBatch -> do
let go a = a gofile (addThese o)
go (withFilesNotInGit (not $ includeDotFiles o))