diff options
author | Joey Hess <id@joeyh.name> | 2013-05-14 15:45:04 -0500 |
---|---|---|
committer | Joey Hess <id@joeyh.name> | 2013-05-14 15:45:04 -0500 |
commit | 3e27b7d44a2d8f4d8d92fbc1142d0c087a8d3dc8 (patch) | |
tree | 1311dacf48e6adecb70c1fc0de589f986551ab2d | |
parent | 06fd8f1ff99f15cf8830cf06b265e8c2b0c84e18 (diff) | |
parent | 52fea847cb70ebb34a177a96106659af83310dc3 (diff) |
Merge remote-tracking branch 'gnu/windows' into windows
-rw-r--r-- | Git/Construct.hs | 2 |
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 |