1234567891011121314151617181920212223242526 |
- /*
- * Copyright (C) 2020 Thomas Wolf <thomas.wolf@paranor.ch> and others
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Distribution License v. 1.0 which is available at
- * https://www.eclipse.org/org/documents/edl-v10.php.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-
- //TODO(ms): move to org.eclipse.jgit.ssh.jsch in 6.0
- package org.eclipse.jgit.transport;
-
- import org.eclipse.jgit.lib.Repository;
- import org.eclipse.jgit.lib.StoredConfig;
-
- public class JSchSshProtocol2Test extends JSchSshTest {
-
- @Override
- public void setUp() throws Exception {
- super.setUp();
- StoredConfig config = ((Repository) db).getConfig();
- config.setInt("protocol", null, "version", 2);
- config.save();
- }
- }
|