Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | add: Improved detection of files that are modified while being added. | Joey Hess | 2013-02-14 |
| | | | | | | | | | | | | | 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. | ||
* | crippled filesystem support, probing and initial support | Joey Hess | 2013-02-14 |
| | | | | | | | | | | | | git annex init probes for crippled filesystems, and sets direct mode, as well as `annex.crippledfilesystem`. Avoid manipulating permissions of files on crippled filesystems. That would likely cause an exception to be thrown. Very basic support in Command.Add for cripped filesystems; avoids the lock down entirely since doing it needs both permissions and hard links. Will make this better soon. | ||
* | remove unused and slightly indefensible Eq and Ord instances | Joey Hess | 2012-06-21 |
| | |||
* | maintain set of files pendingAdd | Joey Hess | 2012-06-20 |
Kqueue needs to remember which files failed to be added due to being open, and retry them. This commit gets the data in place for such a retry thread. Broke KeySource out into its own file, and added Eq and Ord instances so it can be stored in a Set. |