summaryrefslogtreecommitdiff
path: root/Command/Add.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-29 16:20:15 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-29 16:20:15 -0400
commit8c8006bb09e6927198ed14d56319bf8bc2ccc747 (patch)
treede100603d334126728a04caae992535ba8175bda /Command/Add.hs
parent1e5aca5087e573aa93b4b6efe7c6f5abd90d0001 (diff)
add --force overrides annex.largefiles
Diffstat (limited to 'Command/Add.hs')
-rw-r--r--Command/Add.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Add.hs b/Command/Add.hs
index 83b1ca22c..b90db8ba1 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -44,7 +44,7 @@ seek =
]
where
go a = withValue largeFilesMatcher $ \matcher ->
- a $ \file -> ifM (checkFileMatcher matcher file)
+ a $ \file -> ifM (checkFileMatcher matcher file <||> Annex.getState Annex.force)
( start file
, stop
)