summaryrefslogtreecommitdiff
path: root/Upgrade.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-12-23 21:53:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-12-23 21:58:58 -0400
commit346c7a025780e011cdfdbb7eb27281f808a8de92 (patch)
tree3e8c9caef53105878f9378fbcd08e821ebe8540e /Upgrade.hs
parent61b7f3dea3b54ead64cd5e957da28c83e7c25c85 (diff)
Avoid multiple calls to git ls-files when passed eg, "*".
Diffstat (limited to 'Upgrade.hs')
-rw-r--r--Upgrade.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Upgrade.hs b/Upgrade.hs
index 204e2d555..2e1708439 100644
--- a/Upgrade.hs
+++ b/Upgrade.hs
@@ -44,7 +44,7 @@ upgradeFrom0 = do
_ <- mapM (\k -> moveAnnex k $ olddir ++ "/" ++ keyFile k) keys
-- update the symlinks to the files
- files <- liftIO $ Git.inRepo g $ Git.workTree g
+ files <- liftIO $ Git.inRepo g [Git.workTree g]
fixlinks files
Annex.queueRun