aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorgny Nyblom <kde@nyblom.org>2010-10-08 19:25:49 +0200
committerTorgny Nyblom <kde@nyblom.org>2010-10-08 19:25:49 +0200
commit3101a8ea7dcc91c1afa244bc163137cf26276a15 (patch)
tree2e4b3ccae3a0c697e4ef41268130863d2e5a361d
parent222f7f5ac668102405767772e6bc9f30a5c8c99d (diff)
downloadsvn2git-3101a8ea7dcc91c1afa244bc163137cf26276a15.tar
svn2git-3101a8ea7dcc91c1afa244bc163137cf26276a15.tar.gz
svn2git-3101a8ea7dcc91c1afa244bc163137cf26276a15.tar.bz2
svn2git-3101a8ea7dcc91c1afa244bc163137cf26276a15.tar.xz
svn2git-3101a8ea7dcc91c1afa244bc163137cf26276a15.zip
Allow files to be matched
-rw-r--r--src/ruleparser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp
index 4ab8f08..3bad38b 100644
--- a/src/ruleparser.cpp
+++ b/src/ruleparser.cpp
@@ -186,8 +186,6 @@ void Rules::load()
match.prefix = matchPrefixLine.cap(1);
if( match.prefix.startsWith('/'))
match.prefix = match.prefix.mid(1);
- if( !match.prefix.endsWith('/'))
- match.prefix.append('/');
continue;
} else if (matchActionLine.exactMatch(line)) {
QString action = matchActionLine.cap(1);