diff options
author | James Moger <james.moger@gitblit.com> | 2013-03-28 11:40:29 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-03-28 11:40:29 -0400 |
commit | 20a7e4b042c102cfcdea6612623e84261bbeb3eb (patch) | |
tree | ce4028cf596d58bacabaaced481d90788471c8ff /src | |
parent | 52cba9610b3c981a1559020e110461f2ca82c5e8 (diff) | |
parent | ce3f4bd24c330e0cace6a31567e1516dfaa66234 (diff) | |
download | gitblit-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.java | 3 |
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);
|