summaryrefslogtreecommitdiff
path: root/Locations.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-11 00:10:34 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-11 00:10:34 -0400
commite80353490db56e21d266a384141d39f50797e8e3 (patch)
treeb6d7a46763e1d83f11fd57eaad36800d666f7a8f /Locations.hs
parent9becab4331b57a05369a3dcf225c57fd24f39e41 (diff)
a few hlints
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 7602a27e4..8b0b819e6 100644
--- a/Locations.hs
+++ b/Locations.hs
@@ -165,7 +165,7 @@ gitAnnexLink file key r config = do
{- This special case is for git submodules on filesystems not
- supporting symlinks; generate link target that will
- work portably. -}
- | coreSymlinks config == False && needsSubmoduleFixup r =
+ | not (coreSymlinks config) && needsSubmoduleFixup r =
fromMaybe whoops $ absNormPathUnix currdir $
Git.repoPath r </> ".git"
| otherwise = Git.localGitDir r