Pārlūkot izejas kodu

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

master
Chris Smith 15 gadus atpakaļ
vecāks
revīzija
4a3813d1e5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/com/md87/charliebravo/commands/GitCommand.java

+ 1
- 1
src/com/md87/charliebravo/commands/GitCommand.java Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt