Browse Source

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

master
Chris Smith 15 years ago
parent
commit
4a3813d1e5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/md87/charliebravo/commands/GitCommand.java

+ 1
- 1
src/com/md87/charliebravo/commands/GitCommand.java View File

53
                 matcher.find();
53
                 matcher.find();
54
                 final String commitHash = matcher.group(1);
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
                         .matcher(builder);
57
                         .matcher(builder);
58
                 matcher.find();
58
                 matcher.find();
59
                 final String commitSubject = matcher.group(1);
59
                 final String commitSubject = matcher.group(1);

Loading…
Cancel
Save