summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/models/SearchResult.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-02-19 15:27:53 -0500
committerJames Moger <james.moger@gitblit.com>2012-02-19 15:27:53 -0500
commitfb15c2c3a50aa4fe33b6bdfc9f16d759336caa6c (patch)
treef2bc23aa5cfaf184fefc6d49a2462820035a6327 /src/com/gitblit/models/SearchResult.java
parent36ee2307ea083cfe8994b13a3023bc779b2b23ec (diff)
downloadgitblit-fb15c2c3a50aa4fe33b6bdfc9f16d759336caa6c.tar.gz
gitblit-fb15c2c3a50aa4fe33b6bdfc9f16d759336caa6c.zip
Properly index blobs on a branch
Diffstat (limited to 'src/com/gitblit/models/SearchResult.java')
-rw-r--r--src/com/gitblit/models/SearchResult.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/gitblit/models/SearchResult.java b/src/com/gitblit/models/SearchResult.java
index 4a03a70b..2fa0db42 100644
--- a/src/com/gitblit/models/SearchResult.java
+++ b/src/com/gitblit/models/SearchResult.java
@@ -27,6 +27,8 @@ public class SearchResult implements Serializable {
public String summary;
public String repository;
+
+ public String branch;
public String id;
@@ -39,6 +41,6 @@ public class SearchResult implements Serializable {
@Override
public String toString() {
- return score + " : " + type.name() + " : " + repository + " : " + id;
+ return score + " : " + type.name() + " : " + repository + " : " + id + " (" + branch + ")";
}
} \ No newline at end of file