Direct mode: Support filesystems like FAT which can change their inodes each time they are mounted.
This commit is contained in:
parent
0f4cc559a7
commit
624e34649f
7 changed files with 69 additions and 15 deletions
|
@ -85,7 +85,7 @@ addDirect file cache = do
|
|||
got Nothing = do
|
||||
showEndFail
|
||||
return False
|
||||
got (Just (key, _)) = ifM (liftIO $ compareInodeCache file $ Just cache)
|
||||
got (Just (key, _)) = ifM (sameInodeCache file $ Just cache)
|
||||
( do
|
||||
stageSymlink file =<< hashSymlink =<< calcGitLink file key
|
||||
writeInodeCache key cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue