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

Change-Id: I53f71dc0e3c68839da5ff5a2e0f3eeb8340e4793
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
This commit is contained in:
Robin Rosenberg 2010-06-14 23:33:02 +02:00
parent 3a899a3af9
commit 6d5241110b
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public void init(final ServletConfig config) throws ServletException {
initialized = true;
if (uploadPackFactory != ReceivePackFactory.DISABLED) {
if (uploadPackFactory != UploadPackFactory.DISABLED) {
serve("*/git-upload-pack")//
.with(new UploadPackServlet(uploadPackFactory));
}