diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-11 16:05:56 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-11 16:07:54 -0400 |
commit | 12a4ebb4758c65a51a419e42322edfe7fae8f8f9 (patch) | |
tree | 98b0c6881ddd475949a2692eac13a75c86bb933f /CmdLine | |
parent | f1e51105f413082e3d9136330360a54f7cf3c248 (diff) |
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.
Diffstat (limited to 'CmdLine')
-rw-r--r-- | CmdLine/Seek.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CmdLine/Seek.hs b/CmdLine/Seek.hs index 48545ce04..f4ac4dfad 100644 --- a/CmdLine/Seek.hs +++ b/CmdLine/Seek.hs @@ -125,7 +125,7 @@ withFilesUnlocked = withFilesUnlocked' LsFiles.typeChanged withFilesUnlockedToBeCommitted :: (FilePath -> CommandStart) -> CmdParams -> CommandSeek withFilesUnlockedToBeCommitted = withFilesUnlocked' LsFiles.typeChangedStaged -{- Unlocked files have changed type from a symlink to a regular file. +{- Unlocked files before v6 have changed type from a symlink to a regular file. - - Furthermore, unlocked files used to be a git-annex symlink, - not some other sort of symlink. |