typo
This commit is contained in:
parent
7b92ffc3a1
commit
306a36260f
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