]> source.dussan.org Git - jgit.git/commit
Test advertised capabilities with protocol V0 and allow*Sha1InWant 80/1202480/6
authorLuca Milanesio <luca.milanesio@gmail.com>
Fri, 11 Oct 2024 21:40:16 +0000 (22:40 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Fri, 11 Oct 2024 23:21:50 +0000 (01:21 +0200)
commit5583f6a10eafc8c2627e0fb4833cb8ffe422f69a
tree6d8458f0d2c83e7d9c900ebb61593bf85b229b14
parent1519c147948eb1108bdf45f2aeed84746dacff9c
Test advertised capabilities with protocol V0 and allow*Sha1InWant

The advertised capabilities with protocol V0 were untested
leading to potential regressions when advertising what
SHA1 should or should not be on the list of capabilities.

Verify that allow-tip-sha1-in-want and allow-reachable-sha1-in-want
are properly advertised with the allow*Sha1InWant is set in
jgit.config.

Change-Id: I99d062a5a630b02ca3d1fe83bf6cdf3c284ae941
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java