aboutsummaryrefslogtreecommitdiffstats
path: root/src/ruleparser.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago@cassini.local.lan>2007-12-27 15:29:54 -0200
committerThiago Macieira <thiago@cassini.local.lan>2007-12-27 15:29:54 -0200
commitb4cb51888233275e6ec09f084f9fba371e01e759 (patch)
tree61d46c97a442684ed986bac6bd85aa51ed8a4061 /src/ruleparser.cpp
parenta812d0b14d8e341c48201354122578705af873e4 (diff)
downloadsvn2git-b4cb51888233275e6ec09f084f9fba371e01e759.tar
svn2git-b4cb51888233275e6ec09f084f9fba371e01e759.tar.gz
svn2git-b4cb51888233275e6ec09f084f9fba371e01e759.tar.bz2
svn2git-b4cb51888233275e6ec09f084f9fba371e01e759.tar.xz
svn2git-b4cb51888233275e6ec09f084f9fba371e01e759.zip
Reintroduce the recurse rule. It's useful if you have a catch-all ignore rule.
Diffstat (limited to 'src/ruleparser.cpp')
-rw-r--r--src/ruleparser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp
index e6ba7b5..0f675dd 100644
--- a/src/ruleparser.cpp
+++ b/src/ruleparser.cpp
@@ -104,6 +104,8 @@ void Rules::load()
match.action = Match::Export;
else if (action == "ignore")
match.action = Match::Ignore;
+ else if (action == "recurse")
+ match.action = Match::Recurse;
else
qFatal("Invalid action \"%s\" on line %d", qPrintable(action), lineNumber);
continue;