lassik / mergedotnet

GUI-based N-way file sync program that does SFTP
Other
0 stars 0 forks source link

Ignored files are not detected properly #3

Closed lassik closed 10 years ago

lassik commented 10 years ago

Set up two connections Such that there's a directory that contains nothing but a regular file named .DS_Store in one connection, and that directory doesn't exist in the other connection.

Decide that the connection where the directory doesn't exist is the winner for that directory. Press Merge.

Expected behavior: there should be a DeleteFile op for the .DS_Store just before the DeleteEmptyDir op in the operation list.


lassik commented 10 years ago

Fix bug #3: Ignored files are not detected properly

→ <<cset 3fc588dbff9e>>


Original Comment By: Lassi Kortela

lassik commented 10 years ago

The code seems to add the .DS_Store file to its own ignored-file-set. Should be added to the containing directory's ignored-file-set instead.


Original Comment By: Lassi Kortela