git-annex/Remote
Joey Hess 3e2f1f73cb
add back inode to directory special remote ContentIdentifier
Directory special remotes with importtree=yes have changed to once more
take inodes into account. This will cause extra work when importing from a
directory on a FAT filesystem that changes inodes on every mount.

To avoid that extra work, set ignoreinodes=yes when initializing a new
directory special remote, or change the configuration of your existing
remote: git-annex enableremote foo ignoreinodes=yes

This will mean a one-time re-import of all contents from every directory
special remote due to the changed setting.

73df633a62 thought
it was too unlikely that there would be modifications that the inode number
was needed to notice. That was probably right; it's very unlikely that a
file will get modified and end up with the same size and mtime as before.
But, what was not considered is that a program like NextCloud might write
two files with different content so closely together that they share the
mtime. The inode is necessary to detect that situation.

Sponsored-by: Max Thoursie on Patreon
2022-03-21 13:12:02 -04:00
..
Directory incremental hashing for fileRetriever 2021-08-13 15:43:29 -04:00
External convert Key to ShortByteString 2021-10-05 20:20:08 -04:00
Helper turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
List
Rsync
WebDAV fix exporting when the file is in the top of the repo 2021-03-16 14:17:29 -04:00
Adb.hs adb: Avoid find failing with "Argument list too long" 2022-01-31 13:19:09 -04:00
BitTorrent.hs incremental verification for web special remote 2021-08-18 15:02:22 -04:00
Borg.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00
Bup.hs incremental verify for byteRetriever special remotes 2021-08-11 14:20:38 -04:00
Ddar.hs incremental verify for byteRetriever special remotes 2021-08-11 14:20:38 -04:00
Directory.hs add back inode to directory special remote ContentIdentifier 2022-03-21 13:12:02 -04:00
External.hs improve url download failure display 2021-09-01 15:33:38 -04:00
GCrypt.hs remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
Git.hs fix handling of corrupted data received from git remote 2022-01-07 13:25:33 -04:00
GitLFS.hs git-lfs gitlab interoperability fix 2021-11-10 13:51:11 -04:00
Glacier.hs Fix build with ghc 9.0.1 2021-12-08 15:08:02 -04:00
Hook.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
HttpAlso.hs incremental verification for gitlfs and httpalso 2021-08-18 15:17:10 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs negotiate P2P protocol version for tor remotes 2021-10-11 15:58:51 -04:00
Rsync.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
S3.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00
Tahoe.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Web.hs improve url download failure display 2021-09-01 15:33:38 -04:00
WebDAV.hs factor out IncrementalHasher from IncrementalVerifier 2021-11-09 12:33:22 -04:00