more OsPath conversion (639/749)
Sponsored-by: k0ld
This commit is contained in:
parent
a5d48edd94
commit
c74c75b352
28 changed files with 147 additions and 132 deletions
|
@ -119,7 +119,7 @@ fixupReq req@(Req {}) opts =
|
|||
maybe (return r) go (parseLinkTargetOrPointer =<< v)
|
||||
_ -> maybe (return r) go =<< liftIO (isPointerFile f)
|
||||
where
|
||||
f = toRawFilePath (getfile r)
|
||||
f = toOsPath (getfile r)
|
||||
go k = do
|
||||
when (getOption opts) $
|
||||
unlessM (inAnnex k) $
|
||||
|
@ -132,7 +132,7 @@ fixupReq req@(Req {}) opts =
|
|||
si = SeekInput []
|
||||
af = AssociatedFile (Just f)
|
||||
repoint k = withObjectLoc k $
|
||||
pure . setfile r . fromRawFilePath
|
||||
pure . setfile r . fromOsPath
|
||||
|
||||
externalDiffer :: String -> [String] -> Differ
|
||||
externalDiffer c ps = \req -> boolSystem c (map Param ps ++ serializeReq req )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue