summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-14 15:44:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-14 15:44:49 -0400
commit52fea847cb70ebb34a177a96106659af83310dc3 (patch)
tree28317fc8afceb6627b1e7b9bee2f40ace8619d0d /Git
parentb294760833792051302df6d48c7670873da3ef76 (diff)
typo
Diffstat (limited to 'Git')
-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