fsck for v6 unlocked files

This only adds 1 stat to each file fscked for locked files, so
added overhead is minimal.

For unlocked files it has to access the database to see if a file
is modified.
This commit is contained in:
Joey Hess 2015-12-11 16:05:56 -04:00
parent 7790e059b2
commit e7183d83d3
Failed to extract signature
4 changed files with 66 additions and 38 deletions

View file

@ -336,7 +336,6 @@ files to be unlocked, while the indirect upgrades don't touch the files.
long-lived processes.
* Make v6 upgrade convert direct mode repo to repo with all unlocked
files.
* fsck will need some fixes to handle unlocked files.
* Make automatic merge conflict resolution work for pointer files.
- Should probably automatically handle merge conflicts between annex
symlinks and pointer files too. Maybe by always resulting in a pointer