jgit/org.eclipse.jgit.ssh.jsch
Thomas Wolf d69fb4d4ac Revert "Client-side protocol V2 support for fetching"
This reverts commit f802f06e7f.

I had misunderstood how protocol V2 works. This implementation only
works if the negotiation during fetch is done in one round.

Fixing this is substantial work in BasePackFetchConnection. Basically
I think I'd have to change back negotiate to the V0 version, and have
a doFetch() that does

  if protocol V2
    doFetchV2()
  else
    doFetchV0()

with doFetchV0 the old code, and doFetchV2 completely new.

Plus there would need to be a HTTP test case requiring several
negotiation rounds.

This is a couple of days work at least, and I don't know when I will
have the time to revisit this. So although the rest of the code is
fine I prefer to back this out completely and not leave a only half
working implementation in the code for an indeterminate time.

Bug: 553083
Change-Id: Icbbbb09882b3b83f9897deac4a06d5f8dc99d84e
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2020-11-03 23:50:21 +01:00
..
.settings Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
META-INF Prepare 5.10.0-SNAPSHOT builds 2020-08-27 16:14:36 +02:00
resources Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
src/org/eclipse/jgit Revert "Client-side protocol V2 support for fetching" 2020-11-03 23:50:21 +01:00
.classpath Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
.fbprefs Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
.gitignore Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
.project Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
BUILD Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
about.html Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
build.properties Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
plugin.properties Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
pom.xml Merge branch 'stable-5.9' into master 2020-09-09 00:14:08 +02:00