Просмотр исходного кода

issue1216: added sync-exclude entry for emacs recovery files

Signed-off-by: Sebastian Grund <grund92@gmx.de>
Sebastian Grund 6 лет назад
Родитель
Сommit
a9bea53c89
2 измененных файлов с 4 добавлено и 0 удалено
  1. 2 0
      sync-exclude.lst
  2. 2 0
      test/testexcludedfiles.cpp

+ 2 - 0
sync-exclude.lst

@@ -40,3 +40,5 @@ System Volume Information
 .nfs*
 
 My Saved Places.
+
+\#*#

+ 2 - 0
test/testexcludedfiles.cpp

@@ -39,6 +39,8 @@ private slots:
         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));
     }
 };