Przeglądaj źródła

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

master
Chris Smith 15 lat temu
rodzic
commit
4a3813d1e5

+ 1
- 1
src/com/md87/charliebravo/commands/GitCommand.java Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz