summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-03-28 11:40:29 -0400
committerJames Moger <james.moger@gitblit.com>2013-03-28 11:40:29 -0400
commit20a7e4b042c102cfcdea6612623e84261bbeb3eb (patch)
treece4028cf596d58bacabaaced481d90788471c8ff /src
parent52cba9610b3c981a1559020e110461f2ca82c5e8 (diff)
parentce3f4bd24c330e0cace6a31567e1516dfaa66234 (diff)
downloadgitblit-20a7e4b042c102cfcdea6612623e84261bbeb3eb.tar.gz
gitblit-20a7e4b042c102cfcdea6612623e84261bbeb3eb.zip
Merge branch 'issue-182' of git://git.quelltextlich.at/gitblit into issue182
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/GitBlit.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/GitBlit.java b/src/main/java/com/gitblit/GitBlit.java
index 4cfd61e4..0452e1da 100644
--- a/src/main/java/com/gitblit/GitBlit.java
+++ b/src/main/java/com/gitblit/GitBlit.java
@@ -1827,6 +1827,9 @@ public class GitBlit implements ServletContextListener {
} else {
// not caching
ProjectModel project = getProjectModel(userProject);
+ if (project == null) {
+ return null;
+ }
for (String repository : project.repositories) {
if (repository.startsWith(userProject)) {
RepositoryModel model = getRepositoryModel(repository);