aboutsummaryrefslogtreecommitdiff
path: root/Command/Sync.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-12 14:02:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-12 14:02:31 -0400
commite0c49de4bd8fef08ed40d3e43c4f08949f47e6e9 (patch)
tree55f76f41b860ae8bc24b9034ca1954822acf962b /Command/Sync.hs
parent871b79ceb7703c39a7e7eb3e043ac94c596bd1a3 (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/Sync.hs')
0 files changed, 0 insertions, 0 deletions