Merge remote-tracking branch 'gnu/windows' into windows
This commit is contained in:
commit
813d09678a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue