|
|
@@ -84,6 +84,7 @@ import org.eclipse.jgit.junit.TestRepository; |
|
|
|
import org.eclipse.jgit.junit.TestRng; |
|
|
|
import org.eclipse.jgit.junit.http.AccessEvent; |
|
|
|
import org.eclipse.jgit.junit.http.HttpTestCase; |
|
|
|
import org.eclipse.jgit.lib.ConfigConstants; |
|
|
|
import org.eclipse.jgit.lib.Constants; |
|
|
|
import org.eclipse.jgit.lib.NullProgressMonitor; |
|
|
|
import org.eclipse.jgit.lib.ObjectId; |
|
|
@@ -143,6 +144,10 @@ public class SmartClientSmartServerTest extends HttpTestCase { |
|
|
|
|
|
|
|
final TestRepository<Repository> src = createTestRepository(); |
|
|
|
final String srcName = src.getRepository().getDirectory().getName(); |
|
|
|
src.getRepository() |
|
|
|
.getConfig() |
|
|
|
.setBoolean(ConfigConstants.CONFIG_CORE_SECTION, null, |
|
|
|
ConfigConstants.CONFIG_KEY_LOGALLREFUPDATES, true); |
|
|
|
|
|
|
|
ServletContextHandler app = server.addContext("/git"); |
|
|
|
GitServlet gs = new GitServlet(); |