Parcourir la source

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

master
Chris Smith il y a 15 ans
Parent
révision
4a3813d1e5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/com/md87/charliebravo/commands/GitCommand.java

+ 1
- 1
src/com/md87/charliebravo/commands/GitCommand.java Voir le fichier

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

Chargement…
Annuler
Enregistrer