summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-02-21 14:46:55 -0600
committerJames Moger <james.moger@gitblit.com>2014-02-21 14:46:55 -0600
commit5559638f52c00e2bec780e7f1c7a1710300817d4 (patch)
treef2041796638590c1413c466838b8a16608ded4ad
parentfbf0a46d29809761467e722ae44ecfa53b8e49a3 (diff)
parent1b4449a90ba9dfdfba22363a8886b5361a899707 (diff)
downloadgitblit-5559638f52c00e2bec780e7f1c7a1710300817d4.tar.gz
gitblit-5559638f52c00e2bec780e7f1c7a1710300817d4.zip
Merged ticket #13 patchset 1
-rw-r--r--src/main/java/com/gitblit/manager/RepositoryManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/manager/RepositoryManager.java b/src/main/java/com/gitblit/manager/RepositoryManager.java
index afa96b20..6b4fe97f 100644
--- a/src/main/java/com/gitblit/manager/RepositoryManager.java
+++ b/src/main/java/com/gitblit/manager/RepositoryManager.java
@@ -449,6 +449,7 @@ public class RepositoryManager implements IRepositoryManager {
private void clearRepositoryMetadataCache(String repositoryName) {
repositorySizeCache.remove(repositoryName);
repositoryMetricsCache.remove(repositoryName);
+ CommitCache.instance().clear(repositoryName);
}
/**
@@ -461,6 +462,7 @@ public class RepositoryManager implements IRepositoryManager {
repositoryListCache.clear();
repositorySizeCache.clear();
repositoryMetricsCache.clear();
+ CommitCache.instance().clear();
}
/**