add: Improved detection of files that are modified while being added.
In indirect mode, now checks the inode cache to detect changes to a file. Note that a file can still be changed if a process has it open for write, after landing in the annex. In direct mode, some checking of the inode cache was done before, but from a much later point, so fewer modifications could be detected. Now it's as good as indirect mode. On crippled filesystems, no lock down is done before starting to add a file, so checking the inode cache is the only protection we have.
This commit is contained in:
parent
a52f8f382b
commit
7ce30b534f
6 changed files with 50 additions and 27 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -8,6 +8,7 @@ git-annex (3.20130208) UNRELEASED; urgency=low
|
|||
support hard links, or symlinks, or unix permissions, and set
|
||||
annex.crippledfilesystem, as well as annex.direct. This allows
|
||||
use of git-annex repositories on FAT and even worse filesystems.
|
||||
* add: Improved detection of files that are modified while being added.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 10 Feb 2013 14:52:01 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue