diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2010-06-14 23:33:02 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2010-06-14 23:47:59 +0200 |
commit | 6d5241110bc22f69287dc285a6793301075bb3dc (patch) | |
tree | 14f4af0bd7c187a58b2116ae4095b1ae55a3f729 /org.eclipse.jgit.http.server/src/org/eclipse/jgit | |
parent | 3a899a3af983fee19fc614445e9a11b72e8ecf3a (diff) | |
download | jgit-6d5241110bc22f69287dc285a6793301075bb3dc.tar.gz jgit-6d5241110bc22f69287dc285a6793301075bb3dc.zip |
git-servlet: Fix comparing uploadFactory with the wrong DISABLED instance
Change-Id: I53f71dc0e3c68839da5ff5a2e0f3eeb8340e4793
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Diffstat (limited to 'org.eclipse.jgit.http.server/src/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java index cc4cf6a800..e28e4eeb29 100644 --- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java +++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitServlet.java @@ -185,7 +185,7 @@ public class GitServlet extends MetaServlet { initialized = true; - if (uploadPackFactory != ReceivePackFactory.DISABLED) { + if (uploadPackFactory != UploadPackFactory.DISABLED) { serve("*/git-upload-pack")// .with(new UploadPackServlet(uploadPackFactory)); } |