From 9ccea7116a74e07b5a05f9250ca10a94d04d61a2 Mon Sep 17 00:00:00 2001 From: Mikael Karlsson <mikael.karlsson@jayway.com> Date: Sun, 26 Aug 2012 07:59:40 -0400 Subject: [PATCH] Add 2 missing '=' in the English language file. --- src/com/gitblit/GitFilter.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/com/gitblit/GitFilter.java b/src/com/gitblit/GitFilter.java index aa67346..8ce4d3a 100644 --- a/src/com/gitblit/GitFilter.java +++ b/src/com/gitblit/GitFilter.java @@ -101,11 +101,13 @@ */ @Override protected boolean isActionAllowed(RepositoryModel repository, String action) { - if (action.equals(gitReceivePack)) { - // Push request - if (!repository.isBare) { - logger.warn("Gitblit does not allow pushes to repositories with a working copy"); - return false; + if (!StringUtils.isEmpty(action)) { + if (action.equals(gitReceivePack)) { + // Push request + if (!repository.isBare) { + logger.warn("Gitblit does not allow pushes to repositories with a working copy"); + return false; + } } } return true; -- Gitblit v1.9.1