OsPath transition Windows build fixes
This gets it building on Windows again, with 1 test suite failure (addurl). Sponsored-by: Kevin Mueller
This commit is contained in:
parent
9dc43396b3
commit
a149336a59
23 changed files with 58 additions and 62 deletions
|
@ -122,8 +122,8 @@ parseRemoteLocation s knownurl repo = go
|
|||
#ifdef mingw32_HOST_OS
|
||||
-- git on Windows will write a path to .git/config with "drive:",
|
||||
-- which is not to be confused with a "host:"
|
||||
dosstyle = hasDrive
|
||||
dospath = fromRawFilePath . fromInternalGitPath . toRawFilePath
|
||||
dosstyle = hasDrive . toOsPath
|
||||
dospath = fromOsPath . fromInternalGitPath . toOsPath
|
||||
#endif
|
||||
|
||||
insteadOfUrl :: String -> S.ByteString -> RepoFullConfig -> Maybe String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue