We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c1886a commit 3425061Copy full SHA for 3425061
1 file changed
src/main/java/hudson/plugins/git/Revision.java
@@ -4,6 +4,8 @@
4
import com.google.common.base.Joiner;
5
import com.google.common.collect.Iterables;
6
7
+import hudson.Util;
8
+
9
import java.util.ArrayList;
10
import java.util.Collection;
11
@@ -72,7 +74,7 @@ public String toString() {
72
74
Iterables.transform(branches, new Function<Branch, String>() {
73
75
76
public String apply(Branch from) {
- return from.getName();
77
+ return Util.fixNull(from.getName());
78
}
79
}));
80
s.append(')');
0 commit comments