more OsPath conversion
Git.Types now uses it, as does TopFilePath, making for plenty of new compile errors needing fixing. Sponsored-by: Brock Spratlen
This commit is contained in:
parent
12660314f1
commit
ea775baccd
22 changed files with 159 additions and 163 deletions
|
@ -113,8 +113,8 @@ exists ref = runBool
|
|||
|
||||
{- The file used to record a ref. (Git also stores some refs in a
|
||||
- packed-refs file.) -}
|
||||
file :: Ref -> Repo -> FilePath
|
||||
file ref repo = fromRawFilePath (localGitDir repo) </> fromRef ref
|
||||
file :: Ref -> Repo -> OsPath
|
||||
file ref repo = localGitDir repo </> toOsPath (fromRef' ref)
|
||||
|
||||
{- Checks if HEAD exists. It generally will, except for in a repository
|
||||
- that was just created. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue