From 99721ac4b79ce17bcd5b8247ac59126860b8efb5 Mon Sep 17 00:00:00 2001
From: Boris Prüßmann <boris@pruessmann.org>
Date: Mon, 02 Jan 2012 05:01:10 -0500
Subject: [PATCH] Fixed IndexOutOfBoundsException that occurs when a repository doesn't have commits within the requested time range.

---
 tests/com/gitblit/tests/GitServletTest.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/com/gitblit/tests/GitServletTest.java b/tests/com/gitblit/tests/GitServletTest.java
index b3cf41a..f0aedce 100644
--- a/tests/com/gitblit/tests/GitServletTest.java
+++ b/tests/com/gitblit/tests/GitServletTest.java
@@ -83,7 +83,7 @@
 			clone.call();
 			cloned = true;
 		} catch (Exception e) {
-			e.printStackTrace();
+			// swallow the exception which we expect
 		}
 
 		// restore anonymous repository access

--
Gitblit v1.9.1