diff options
author | James Moger <james.moger@gitblit.com> | 2014-05-22 19:24:58 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-05-22 19:24:58 -0400 |
commit | 8bb12d623891928444bf82cf1e6cdc1c09ea3633 (patch) | |
tree | a0fd364ab71d994194971db07a60a4bfba6fd2fd /src/main | |
parent | 8ab46a7c372ade433e36fe3d2cf6494050fc7cf5 (diff) | |
download | gitblit-8bb12d623891928444bf82cf1e6cdc1c09ea3633.tar.gz gitblit-8bb12d623891928444bf82cf1e6cdc1c09ea3633.zip |
Force repository cache to refresh metadata after ref deletion/creation
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/gitblit/manager/RepositoryManager.java | 2 |
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 7351eb97..40e38640 100644 --- a/src/main/java/com/gitblit/manager/RepositoryManager.java +++ b/src/main/java/com/gitblit/manager/RepositoryManager.java @@ -464,6 +464,8 @@ public class RepositoryManager implements IRepositoryManager { public void resetRepositoryCache(String repositoryName) { removeFromCachedRepositoryList(repositoryName); clearRepositoryMetadataCache(repositoryName); + // force a reload of the repository data (ticket-82, issue-433) + getRepositoryModel(repositoryName); } /** |