summaryrefslogtreecommitdiff
path: root/Command/Add.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-28 14:19:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-28 14:21:30 -0400
commit92e5d28ca83d057a3d8f5d7d30806642de699172 (patch)
treea4021ec369a077dd3916c98e3ebfd9e368302afc /Command/Add.hs
parent1f9ce9e9a5f6d7eaf149f42de559cb9830c7f28e (diff)
precommit: Optimise to avoid calling git-check-attr more than once.
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 cf32a8d64..d141448a3 100644
--- a/Command/Add.hs
+++ b/Command/Add.hs
@@ -34,7 +34,7 @@ start pair@(file, _) = notAnnexed file $ do
showStart "add" file
return $ Just $ perform pair
-perform :: (FilePath, Maybe Backend) -> SubCmdPerform
+perform :: BackendFile -> SubCmdPerform
perform (file, backend) = do
stored <- Backend.storeFileKey file backend
case stored of