James Moger
2013-04-03 75bca8ea4a8bc1126cc47c97c9ce595fd650c831
src/main/java/com/gitblit/GitFilter.java
@@ -112,15 +112,8 @@
    */
   @Override
   protected boolean isActionAllowed(RepositoryModel repository, String action) {
      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;
            }
         }
      }
      // the log here has been moved into ReceiveHook to provide clients with
      // error messages
      return true;
   }