diff options
author | Joey Hess <joey@kitenet.net> | 2013-06-12 14:02:31 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-06-12 14:02:31 -0400 |
commit | e0c49de4bd8fef08ed40d3e43c4f08949f47e6e9 (patch) | |
tree | 55f76f41b860ae8bc24b9034ca1954822acf962b /Command.hs | |
parent | 871b79ceb7703c39a7e7eb3e043ac94c596bd1a3 (diff) |
Direct mode: No longer temporarily remove write permission bit of files when adding them.
This write permission frobbing is very appropriate in indirect mode,
since annexed objects are stored as immutably as can be managed. But not
in direct mode, where files should be able to be modified at any time.
There are already sufficient guards that there's no need to prevent a file
being written to while it's being ingested, in direct mode. The inode cache
will detect (most) types of modifications, and the add will fail. Then a
re-add should be done. The assistant should get another inotify change
event, and automatically add the new version of the file.
Diffstat (limited to 'Command.hs')
0 files changed, 0 insertions, 0 deletions