aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <id@joeyh.name>2013-05-14 15:45:04 -0500
committerGravatar Joey Hess <id@joeyh.name>2013-05-14 15:45:04 -0500
commit3e27b7d44a2d8f4d8d92fbc1142d0c087a8d3dc8 (patch)
tree1311dacf48e6adecb70c1fc0de589f986551ab2d
parent06fd8f1ff99f15cf8830cf06b265e8c2b0c84e18 (diff)
parent52fea847cb70ebb34a177a96106659af83310dc3 (diff)
Merge remote-tracking branch 'gnu/windows' into windows
-rw-r--r--Git/Construct.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Construct.hs b/Git/Construct.hs
index 1cded7a13..b947abd89 100644
--- a/Git/Construct.hs
+++ b/Git/Construct.hs
@@ -71,7 +71,7 @@ fromAbsPath dir
{- When dir == "foo/.git", git looks for "foo/.git/.git",
- and failing that, uses "foo" as the repository. -}
hunt
- | pathSeparator:".git" `isSuffixOf` canondir =
+ | (pathSeparator:".git") `isSuffixOf` canondir =
ifM (doesDirectoryExist $ dir </> ".git")
( ret dir
, ret $ takeDirectory canondir