jgit/org.eclipse.jgit
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 Support "http.userAgent" and "http.extraHeader" from the git config 2020-09-26 23:42:38 +02:00
META-INF Export new package org.eclipse.jgit.logging and import it where used 2020-10-25 15:45:49 +01:00
findBugs
resources/org/eclipse/jgit Revert "Client-side protocol V2 support for fetching" 2020-11-03 23:50:21 +01:00
src/org/eclipse/jgit Revert "Client-side protocol V2 support for fetching" 2020-11-03 23:50:21 +01:00
.classpath Change JGit minimum execution environment to JavaSE-1.8 2016-09-20 11:32:36 +02:00
.fbprefs
.gitignore
.project
BUILD Bazel: Add workspace status command to stamp final artifact 2020-07-17 01:10:15 +02:00
about.html SHA-1: collision detection support 2017-02-28 16:38:43 -08:00
build.properties
plugin.properties Fix bundle localization of Apache SSH bundle 2019-06-21 17:54:06 +02:00
pom.xml Prepare 5.9.1-SNAPSHOT builds 2020-09-08 17:45:20 +02:00