- if (matchRepoLine.exactMatch(line))
- match.repository = matchRepoLine.cap(0);
- else if (matchBranchLine.exactMatch(line))
- match.branch = matchBranchLine.cap(0);
- else if (matchPathLine.exactMatch(line))
- match.path = matchPathLine.cap(0);
+ if (matchRepoLine.exactMatch(line)) {
+ match.repository = matchRepoLine.cap(1);
+ continue;
+ } else if (matchBranchLine.exactMatch(line)) {
+ match.branch = matchBranchLine.cap(1);
+ continue;
+ } else if (matchPathLine.exactMatch(line)) {
+ match.path = matchPathLine.cap(1);
+ continue;
+ } else if (line == "end match") {
+ m_matchRules += match;
+ state = ReadingNone;
+ continue;
+ }