Bug 563145 - JGit: Enable git wire protocol v2 per default
Summary: JGit: Enable git wire protocol v2 per default
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 5.11   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 553083
Blocks:
  Show dependency tree
 
Reported: 2020-05-14 02:15 EDT by David Ostrovsky CLA
Modified: 2021-01-03 15:42 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Ostrovsky CLA 2020-05-14 02:15:28 EDT
Even on JGit@HEAD, Gerrit administrators must enable v2 protocol
for each repository or globally in <GERRIT_SITE>/etc/jgit.config:

  [protocol]
    version = 2

It should be on per default, and if someone would like to downgrade
the protocol, she would have to say it explicitly:

  [protocol]
    version = 1

See this discussion on repro-discuss mailing list for details: [1].

[1] https://groups.google.com/d/topic/repo-discuss/aGgfpT62e5I/discussion
Comment 1 Thomas Wolf CLA 2020-05-14 02:34:05 EDT
Do operations downgrade transparently to version 1 if the server does not support it?

Is bug 553083 resolved?
Comment 2 Eclipse Genie CLA 2020-05-19 01:18:56 EDT
New Gerrit change created: https://git.eclipse.org/r/163216