assistant: Fix OSX-specific bug that caused the startup scan to try to follow symlinks to other directories, and add their contents to the annex.
This commit is contained in:
parent
fcf6384389
commit
c99d6a8151
7 changed files with 23 additions and 13 deletions
2
Seek.hs
2
Seek.hs
|
@ -61,7 +61,7 @@ withPathContents a params = map a . concat <$> liftIO (mapM get params)
|
|||
where
|
||||
get p = ifM (isDirectory <$> getFileStatus p)
|
||||
( map (\f -> (f, makeRelative (parentDir p) f))
|
||||
<$> dirContentsRecursiveSkipping (".git" `isSuffixOf`) p
|
||||
<$> dirContentsRecursiveSkipping (".git" `isSuffixOf`) True p
|
||||
, return [(p, takeFileName p)]
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue