summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-01-27 17:58:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-01-27 17:58:30 -0400
commit4f9336bb60ca4dc08ca271605de71415c98ec3ff (patch)
treea1fc60bb1b6133d8b8b966f2ea77349c0a9a6d62 /Locations.hs
parent167523f09d48777f3a5931fdcbc21b9d363e0e6c (diff)
idiom
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 b2624754e..75843c29e 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -93,7 +93,7 @@ gitAnnexUnusedLog r = gitAnnexDir r </> "unused"
{- Checks a symlink target to see if it appears to point to annexed content. -}
isLinkToAnnex :: FilePath -> Bool
-isLinkToAnnex s = isInfixOf ("/" ++ objectDir) s
+isLinkToAnnex s = ("/" ++ objectDir) `isInfixOf` s
{- Converts a key into a filename fragment.
-