fix
This commit is contained in:
parent
81c4259a0d
commit
c116383b5d
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ gitCommandLine params Repo { location = l@(Local _ _ ) } = setdir : settree ++ p
|
|||
Just t -> [Param $ "--work-tree=" ++ gitpath t]
|
||||
#ifdef mingw32_HOST_OS
|
||||
-- despite running on windows, msysgit wants a unix-formatted path
|
||||
gitpath = dropDrive . toInternalGitPath
|
||||
gitpath s
|
||||
| isAbsulute s = "/" ++ dropDrive (toInternalGitPath s)
|
||||
| otherwise = s
|
||||
#else
|
||||
gitpath = id
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue