Browse Source

git-servlet: Fix comparing uploadFactory with the wrong DISABLED instance

Change-Id: I53f71dc0e3c68839da5ff5a2e0f3eeb8340e4793
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
stable-0.9
Robin Rosenberg 15 years ago
parent
commit
6d5241110b
  1. 2
      org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java

2
org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java

@ -185,7 +185,7 @@ public class GitServlet extends MetaServlet {
initialized = true; initialized = true;
if (uploadPackFactory != ReceivePackFactory.DISABLED) { if (uploadPackFactory != UploadPackFactory.DISABLED) {
serve("*/git-upload-pack")// serve("*/git-upload-pack")//
.with(new UploadPackServlet(uploadPackFactory)); .with(new UploadPackServlet(uploadPackFactory));
} }

Loading…
Cancel
Save