From d83bd6d3acfc88a991a08a15dfa3ac36770bb0b8 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Tue, 27 Nov 2012 17:08:53 -0500
Subject: [PATCH] Fixed history page links for files not in the current/active commit (issue 166)

---
 src/com/gitblit/utils/ObjectCache.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/com/gitblit/utils/ObjectCache.java b/src/com/gitblit/utils/ObjectCache.java
index 3bbf4d1..38f2e59 100644
--- a/src/com/gitblit/utils/ObjectCache.java
+++ b/src/com/gitblit/utils/ObjectCache.java
@@ -91,4 +91,8 @@
 		}
 		return null;
 	}
+	
+	public int size() {
+		return cache.size();
+	}
 }

--
Gitblit v1.9.1