summaryrefslogtreecommitdiff
path: root/Command/Add.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-12-02 14:48:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-12-02 14:49:03 -0400
commit8e7728b312704f6f4cb84d81302c1518f0e85948 (patch)
treec547f1be8464b98e18087d45188a9fbbb2dd3dfb /Command/Add.hs
parent31d4313d575a566a695d93e3e7ee34bddd41d705 (diff)
import: Changed to honor annex.largefiles settings.
Diffstat (limited to 'Command/Add.hs')
-rw-r--r--Command/Add.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Command/Add.hs b/Command/Add.hs
index fd92f04ef..4ae97b6e3 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -73,8 +73,12 @@ seek o = allowConcurrentOutput $ do
startSmall :: FilePath -> CommandStart
startSmall file = do
showStart "add" file
+ next $ performSmall file
+
+performSmall :: FilePath -> CommandPerform
+performSmall file = do
showNote "non-large file; adding content to git repository"
- next $ performAdd file
+ performAdd file
performAdd :: FilePath -> CommandPerform
performAdd file = do