Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add initial support for Git protocol v2 #1244

Merged
merged 12 commits into from
Jun 28, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
skip test_fetch_pack_no_side_band_64k if git protocol v2 is used
Git protocol v2 implies the side-band-64k capability so this test
is meaningless in that case.
  • Loading branch information
stspdotname committed Jun 25, 2024
commit 5b2f74f024a5521039a7a2ae5af6a825bab209cb
2 changes: 2 additions & 0 deletions tests/compat/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ def test_incremental_fetch_pack(self):
self.assertDestEqualsSrc()

def test_fetch_pack_no_side_band_64k(self):
if protocol.DEFAULT_GIT_PROTOCOL_VERSION_FETCH >= 2:
raise SkipTest("side-band-64k cannot be disabled with git protocol v2")
c = self._client()
c._fetch_capabilities.remove(b"side-band-64k")
with repo.Repo(os.path.join(self.gitroot, "dest")) as dest:
Expand Down