fromkey creates leading directories for symbolic links. Do the same
for pointer files.
, matchKey = Just key
}
else keyMatchInfoWithoutContent key file
+ createWorkTreeDirectory (parentDir file)
ifM (addUnlocked matcher mi contentpresent)
( do
stagePointerFile file Nothing =<< hashPointerFile key
else writepointer
, do
link <- calcRepo $ gitAnnexLink file key
- createWorkTreeDirectory (parentDir file)
addAnnexLink link file
)
next $ return True