From 2ef0a359e5aba5af569dd1abfce10695846111c1 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 04 Oct 2012 18:27:06 -0400 Subject: [PATCH] Fixed repository reference leak in fork mechanism --- src/com/gitblit/utils/ActivityUtils.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/utils/ActivityUtils.java b/src/com/gitblit/utils/ActivityUtils.java index 02a9924..e515994 100644 --- a/src/com/gitblit/utils/ActivityUtils.java +++ b/src/com/gitblit/utils/ActivityUtils.java @@ -94,7 +94,7 @@ branches.add(objectId); } Map<ObjectId, List<RefModel>> allRefs = JGitUtils - .getAllRefs(repository); + .getAllRefs(repository, model.showRemoteBranches); for (String branch : branches) { String shortName = branch; -- Gitblit v1.9.1