Package com.google.gerrit.server.git

Examples of com.google.gerrit.server.git.VisibleRefFilter


        throw new Failure(1, "fatal: upload-pack not permitted on this server");
    }

    final UploadPack up = new UploadPack(repo);
    if (!projectControl.allRefsAreVisible()) {
      up.setAdvertiseRefsHook(new VisibleRefFilter(tagCache, repo,
          projectControl, db.get(), true));
    }
    up.setPackConfig(config.getPackConfig());
    up.setTimeout(config.getTimeout());
    up.upload(in, out, err);
View Full Code Here


            "upload-pack not permitted on this server");
        return;
      }

      if (!pc.allRefsAreVisible()) {
        up.setAdvertiseRefsHook(new VisibleRefFilter(tagCache, repo, pc, db.get(), true));
      }

      next.doFilter(request, response);
    }
View Full Code Here

TOP

Related Classes of com.google.gerrit.server.git.VisibleRefFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.