summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-01-05 17:22:19 -0500
committerJames Moger <james.moger@gitblit.com>2013-01-05 17:22:19 -0500
commit56d91368c3af957681951d3e34de54f025448d72 (patch)
tree5a40c02039029030222026e798663fbcb1a27ee0 /src
parent1b1c19572fc67a1f0f71799739c4bfe53558ec41 (diff)
downloadgitblit-56d91368c3af957681951d3e34de54f025448d72.tar.gz
gitblit-56d91368c3af957681951d3e34de54f025448d72.zip
Fixed NPE on create repo with mixed case (issue-185)
Diffstat (limited to 'src')
-rw-r--r--src/com/gitblit/GitBlit.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/gitblit/GitBlit.java b/src/com/gitblit/GitBlit.java
index 74d32df0..3eb246b8 100644
--- a/src/com/gitblit/GitBlit.java
+++ b/src/com/gitblit/GitBlit.java
@@ -1371,8 +1371,8 @@ public class GitBlit implements ServletContextListener {
if (config.isOutdated()) {
// reload model
logger.info(MessageFormat.format("Config for \"{0}\" has changed. Reloading model and updating cache.", repositoryName));
- model = loadRepositoryModel(repositoryName);
- removeFromCachedRepositoryList(repositoryName);
+ model = loadRepositoryModel(model.name);
+ removeFromCachedRepositoryList(model.name);
addToCachedRepositoryList(model);
} else {
// update a few repository parameters