Hardcode Desktop.ini in the exclude list
This prevents it from being removed from the exclude list, which would be an issue since the client itself creates this file in a way that wouldn't match on machines with different installation paths.
This commit is contained in:
parent
251f1d0047
commit
a480a318fd
|
@ -293,6 +293,13 @@ static CSYNC_EXCLUDE_TYPE _csync_excluded_common(c_strlist_t *excludes, const ch
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* We create a desktop.ini on Windows for the sidebar icon, make sure we don't sync them. */
|
||||||
|
rc = csync_fnmatch("Desktop.ini", bname, 0);
|
||||||
|
if (rc == 0) {
|
||||||
|
match = CSYNC_FILE_SILENTLY_EXCLUDED;
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
rc = csync_fnmatch(".owncloudsync.log*", bname, 0);
|
rc = csync_fnmatch(".owncloudsync.log*", bname, 0);
|
||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
match = CSYNC_FILE_SILENTLY_EXCLUDED;
|
match = CSYNC_FILE_SILENTLY_EXCLUDED;
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
].ds_store
|
].ds_store
|
||||||
._*
|
._*
|
||||||
]Thumbs.db
|
]Thumbs.db
|
||||||
desktop.ini
|
|
||||||
System Volume Information
|
System Volume Information
|
||||||
|
|
||||||
.*.sw?
|
.*.sw?
|
||||||
|
|
Loading…
Reference in New Issue