b819f644ad
There's a race adding a new file to the annex: The file is moved to the annex and replaced with a symlink, and then we git add the symlink. If someone comes along in the meantime and replaces the symlink with something else, such as a new large file, we add that instead. Which could be bad.. This race is fixed by avoiding using git add, instead the symlink is directly staged into the index. It would be nice to make `git annex add` use this same technique. I have not done so yet because it currently runs git update-index once per file, which would slow does `git annex add`. A future enhancement would be to extend the Git.Queue to include the ability to run update-index with a list of Streamers. |
||
---|---|---|
.. | ||
Branch.hs | ||
BranchState.hs | ||
CatFile.hs | ||
CheckAttr.hs | ||
Content.hs | ||
Exception.hs | ||
Journal.hs | ||
LockPool.hs | ||
Perms.hs | ||
Queue.hs | ||
Ssh.hs | ||
UUID.hs | ||
Version.hs |