GitLogParser.js
authorAlan Knowles <alan@roojs.com>
Mon, 3 Apr 2017 04:34:44 +0000 (12:34 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 3 Apr 2017 04:34:44 +0000 (12:34 +0800)
GitLogParser.js

index ddec340..807f98f 100644 (file)
@@ -146,7 +146,8 @@ GitLogParser = {
         
         for(var proj in this.regexes) {
             for(var r in this.regexes[proj]) {
-                if (ret.line.match(r)) {
+                if (ret.line.match(this.regexes[proj][r])) {
+                    //print("Match " + proj + " on " + r + ret.line + )
                     ret.project = proj;
                     break;
                 }