Преглед изворни кода

Fix bug with git command showing links on the head of a branch

master
Chris Smith пре 15 година
родитељ
комит
4a3813d1e5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/com/md87/charliebravo/commands/GitCommand.java

+ 1
- 1
src/com/md87/charliebravo/commands/GitCommand.java Прегледај датотеку

@@ -53,7 +53,7 @@ public class GitCommand implements Command {
53 53
                 matcher.find();
54 54
                 final String commitHash = matcher.group(1);
55 55
 
56
-                matcher = Pattern.compile("<div class='commit-subject'>(.*?)</div>")
56
+                matcher = Pattern.compile("<div class='commit-subject'>(.*?)(<a .*?)?</div>")
57 57
                         .matcher(builder);
58 58
                 matcher.find();
59 59
                 final String commitSubject = matcher.group(1);

Loading…
Откажи
Сачувај