diff options
author | James Moger <james.moger@gitblit.com> | 2012-03-17 11:00:17 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-03-17 11:00:17 -0400 |
commit | cdbbda53e245621065bf142e48737faf88a5fee7 (patch) | |
tree | 303ca07ff81e268eb1f4edd1482128ee908da96d | |
parent | 86bea9e0016b2890db8ba83049dd4e89653a0a5e (diff) | |
download | gitblit-cdbbda53e245621065bf142e48737faf88a5fee7.tar.gz gitblit-cdbbda53e245621065bf142e48737faf88a5fee7.zip |
Incremental commit indexing was missing branch field
-rw-r--r-- | src/com/gitblit/LuceneExecutor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/gitblit/LuceneExecutor.java b/src/com/gitblit/LuceneExecutor.java index e4ee0b67..489d308d 100644 --- a/src/com/gitblit/LuceneExecutor.java +++ b/src/com/gitblit/LuceneExecutor.java @@ -680,6 +680,7 @@ public class LuceneExecutor implements Runnable { writer.commit();
Document doc = createDocument(commit, null);
+ doc.add(new Field(FIELD_BRANCH, branch, Store.YES, Index.ANALYZED));
result.commitCount++;
result.success = index(repositoryName, doc);
} catch (Exception e) {
|