### Please describe the problem. When creating a symlink in repository A, and creating a regular file under the same name in repository B, syncing B will yield the result that the symlink is lost, and both the original filename and the .variant file will point to the same annex object containing the original content from B. Both A and B are indirect mode repos. ### What steps will reproduce the problem? [[!format sh """ #Initial state: repo-A$ echo file1 This is file 1. repo-B$ echo file1 This is file 1. #Make conflicting changes: repo-A$ ln -s file1 file2; git add file2; git commit -m "Add file2 as symlink." repo-B$ echo "This is file 2." > file2; git annex add file2; git commit -m "Add file2 as regular file." #Sync it: repo-A$ git annex sync repo-B$ git annex sync #Strange result in repo-B: repo-B$ ls -l file2* file2 -> .git/annex/objects/$HASH1 file2.variant1234 -> .git/annex/objects/$HASH1 repo-B$ cat file2 file2.variantXXXX This is file 2. This is file 2. #Repo-A leaves the symlink change untouched and adds a .variant containing the new regular file data. repo-A$ ls -l file* file2 -> file1 file2.variant1234 -> .git/annex/objects/$HASH1 repo-A$ cat file.variant1234 This is file 2. """]] ### What version of git-annex are you using? On what operating system? Linux 3.15.3 git-annex 5.20140613 [[!tag confirmed]] > [[fixed|done]] --[[Joey]]