diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-20 13:37:52 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-20 13:41:09 -0400 |
commit | cb8dac8816d91928f177e48282daf0a4296debe3 (patch) | |
tree | 7f3f4f796f158f47076eb9a5eb1da54c045f0b71 /doc/bugs/WEBDAV_443.mdwn | |
parent | 96584fef7e231772f81e8af981c0e22bbf9f8f47 (diff) |
direct mode bug fix: After a conflicted merge was automatically resolved, the content of a file that was already present could incorrectly be replaced with a symlink.
The bug was in movein, which just replaceFile'd the file with a symlink,
even if it already had the desired content, before trying to pull the
content out of the annex and replace the symlink with it.
That was ok-ish for non conflicted merges, where if the file existed it would
be an old version of the content. But for conflicted merges, the automatic
merge resolver has already run, and will have already put the desired
content into the file for the local variant.
Also, made removeDirect not trust that the associated files map is correct.
Only if it can verify that another file has the content will it not move it
into .git/annex/objects.
Diffstat (limited to 'doc/bugs/WEBDAV_443.mdwn')
0 files changed, 0 insertions, 0 deletions