git repo path may be relative, so don't assume absolute any more
Fixes 6 test failures.
This commit is contained in:
parent
cd865c3b8f
commit
82f667e7f2
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ fromRemoteLocation s repo = gen $ parseRemoteLocation s repo
|
|||
fromRemotePath :: FilePath -> Repo -> IO Repo
|
||||
fromRemotePath dir repo = do
|
||||
dir' <- expandTilde dir
|
||||
fromAbsPath $ repoPath repo </> dir'
|
||||
fromPath $ repoPath repo </> dir'
|
||||
|
||||
{- Git remotes can have a directory that is specified relative
|
||||
- to the user's home directory, or that contains tilde expansions.
|
||||
|
|
Loading…
Add table
Reference in a new issue