summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-01-28 18:01:54 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-01-28 18:05:08 -0400
commited3c22b16a0652b591165ab7575b06b356ca7f0a (patch)
tree8cd063846b51f7f11130e1d2a953f0600c2bc6df /Locations.hs
parentff8a0b0b73685283aedf6d49cdd9b27f22fe6e9f (diff)
test suite found a problem with today's work
". def" did not do what I thought it would, at all.
Diffstat (limited to 'Locations.hs')
-rw-r--r--Locations.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Locations.hs b/Locations.hs
index a9847f460..c5221d8bc 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -426,4 +426,4 @@ keyPath key hasher = hasher key </> f </> f
- special remotes and git-annex repos.
-}
keyPaths :: Key -> [FilePath]
-keyPaths key = map (keyPath key . def) dirHashes
+keyPaths key = map (\h -> keyPath key (h def)) dirHashes