remove absNormPathUnix, using my absPathFrom replacement
This commit is contained in:
parent
32fac4b71b
commit
a7f05c007b
2 changed files with 2 additions and 17 deletions
|
@ -144,11 +144,9 @@ gitAnnexLocation' key r crippled
|
|||
gitAnnexLink :: FilePath -> Key -> Git.Repo -> IO FilePath
|
||||
gitAnnexLink file key r = do
|
||||
currdir <- getCurrentDirectory
|
||||
let absfile = fromMaybe whoops $ absNormPathUnix currdir file
|
||||
let absfile = absPathFrom currdir file
|
||||
loc <- gitAnnexLocation' key r False
|
||||
relPathDirToFile (parentDir absfile) loc
|
||||
where
|
||||
whoops = error $ "unable to normalize " ++ file
|
||||
|
||||
{- File used to lock a key's content. -}
|
||||
gitAnnexContentLock :: Key -> Git.Repo -> GitConfig -> IO FilePath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue