absolute path to index file; test suite passes
There are still known problems; for example git annex view a=b fails when run in a subdir of the repo.
This commit is contained in:
parent
d44b28437d
commit
8a1c5956eb
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ withIndex :: Annex a -> Annex a
|
|||
withIndex = withIndex' False
|
||||
withIndex' :: Bool -> Annex a -> Annex a
|
||||
withIndex' bootstrapping a = do
|
||||
f <- fromRepo gitAnnexIndex
|
||||
f <- liftIO . absPath =<< fromRepo gitAnnexIndex
|
||||
withIndexFile f $ do
|
||||
checkIndexOnce $ unlessM (liftIO $ doesFileExist f) $ do
|
||||
unless bootstrapping create
|
||||
|
|
Loading…
Reference in a new issue