]> andersk Git - svn-all-fast-export.git/blobdiff - src/ruleparser.h
Reintroduce the recurse rule. It's useful if you have a catch-all ignore rule.
[svn-all-fast-export.git] / src / ruleparser.h
index f882289442a97b71b9392cb021c16f71d5010b72..9525f1479cdbb7b61982552d3fa06c16e7c58666 100644 (file)
@@ -30,7 +30,6 @@ public:
         struct Branch
         {
             QString name;
-            QString branchFrom;
         };
 
         QString name;
@@ -49,7 +48,13 @@ public:
         int maxRevision;
         int lineNumber;
 
-        Match() : minRevision(-1), maxRevision(-1), lineNumber(0) { }
+        enum Action {
+            Ignore,
+            Export,
+            Recurse
+        } action;
+
+        Match() : minRevision(-1), maxRevision(-1), lineNumber(0), action(Ignore) { }
     };
 
     Rules(const QString &filename);
@@ -66,4 +71,9 @@ private:
     QList<Match> m_matchRules;
 };
 
+#ifndef QT_NO_DEBUG_STREAM
+class QDebug;
+QDebug operator<<(QDebug, const Rules::Match &);
+#endif
+
 #endif
This page took 0.63921 seconds and 4 git commands to generate.