cssClass = "otherRef";\r
} else if (name.startsWith(Constants.R_PULL)) {\r
// Pull Request ref\r
- name = "pull #" + name.substring(Constants.R_PULL.length());\r
- if (name.endsWith("/head")) {\r
+ String num = name.substring(Constants.R_PULL.length());\r
+ if (num.endsWith("/head")) {\r
// strip pull request head from name\r
- name = name.substring(0, name.length() - "/head".length());\r
+ num = num.substring(0, num.length() - "/head".length());\r
}\r
+ name = "pr #" + num;\r
+ tooltip = "pull request #" + num;\r
cssClass = "pullRef";\r
} else if (name.startsWith(Constants.R_REMOTES)) {\r
// remote branch\r