summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-12 11:32:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-12 11:32:06 -0400
commit942d8f72984377c4e69d7c55877621d434e5d687 (patch)
treeda1f205c66d57a4a88c727af382c4d6e09c2e881 /Locations.hs
parent85f0992c0378aad442da5dbbd5deadffe33f77e1 (diff)
hlint
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 9d27fbdae..0c9935614 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -165,7 +165,7 @@ gitAnnexRemotesDir r = addTrailingPathSeparator $ gitAnnexDir r </> "remotes"
{- Checks a symlink target to see if it appears to point to annexed content. -}
isLinkToAnnex :: FilePath -> Bool
-isLinkToAnnex s = ("/" ++ d) `isInfixOf` s || d `isPrefixOf` s
+isLinkToAnnex s = ('/':d) `isInfixOf` s || d `isPrefixOf` s
where
d = ".git" </> objectDir