diff options
author | Joey Hess <joey@kitenet.net> | 2013-03-04 15:09:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-03-04 15:09:32 -0400 |
commit | d34345ec823ee2e95e005faae09f9573de24a3d5 (patch) | |
tree | 41bedbcb2e689fa5e0b29e5a4f7226c58cbdd04b /CmdLine.hs | |
parent | 0a959d31d29ed95ff648fcf4027803d3db41ae57 (diff) |
fix another potential race with the watcher and direct mode
Watcher wants to rewrite symlink to fix it. But in direct mode, the symlink
could be replaced at any time with file content that has finished being
transferred by some other process. So, just don't touch it.
FWIW, I audited the rest of the assistant for places where it removes
files, and the rest is ok. I have not audited the rest of git-annex.
Diffstat (limited to 'CmdLine.hs')
0 files changed, 0 insertions, 0 deletions