From d0bb38c765274b1c889a429616d4da2b478cdbd2 Mon Sep 17 00:00:00 2001
From: Plamen Totev <plamentotev@users.noreply.github.com>
Date: Sun, 12 Jul 2015 11:08:14 -0400
Subject: [PATCH] Fix tags not properly indexed in Lucene
---
src/main/java/com/gitblit/utils/RefLogUtils.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/gitblit/utils/RefLogUtils.java b/src/main/java/com/gitblit/utils/RefLogUtils.java
index f08c99e..355c120 100644
--- a/src/main/java/com/gitblit/utils/RefLogUtils.java
+++ b/src/main/java/com/gitblit/utils/RefLogUtils.java
@@ -294,10 +294,10 @@
rc));
}
} finally {
- revWalk.release();
+ revWalk.close();
}
} finally {
- odi.release();
+ odi.close();
}
} catch (Throwable t) {
error(t, repository, "Failed to commit reflog entry to {0}");
@@ -395,12 +395,12 @@
}
// release the treewalk
- treeWalk.release();
+ treeWalk.close();
// finish temporary in-core index used for this commit
dcBuilder.finish();
} finally {
- inserter.release();
+ inserter.close();
}
return inCoreIndex;
}
--
Gitblit v1.9.1