those path may be in use on Windows and are legitimate
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
while (!ignores.atEnd()) {
QString line = QString::fromUtf8(ignores.readLine());
line.chop(1);
+ if (line == QStringLiteral("\\#*#")) {
+ continue;
+ }
if (!line.isEmpty() && !line.startsWith("#")) {
bool deletable = false;
if (line.startsWith(']')) {
My Saved Places.
-\#*#
*.sb-*
QVERIFY(excluded.isExcluded("/a/foo_conflict-bar", "/a", keepHidden));
QVERIFY(excluded.isExcluded("/a/foo (conflicted copy bar)", "/a", keepHidden));
QVERIFY(excluded.isExcluded("/a/.b", "/a", excludeHidden));
-
- QVERIFY(excluded.isExcluded("/a/#b#", "/a", keepHidden));
}
void check_csync_exclude_add()