]> granicus.if.org Git - git/commit
upload-pack: test negotiation with changing repository
authorBrandon Williams <bmwill@google.com>
Wed, 27 Jun 2018 22:30:18 +0000 (15:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jun 2018 16:33:29 +0000 (09:33 -0700)
commit3374292e55564fa6107b31a63a5e5432cd8c2265
tree237b8f0fdc0addc8d3284ecbc9c6934ac0e010b8
parent516e2b76bdcf53e757309481fa0e663217ee8039
upload-pack: test negotiation with changing repository

Add tests to check the behavior of fetching from a repository which
changes between rounds of negotiation (for example, when different
servers in a load-balancing agreement participate in the same stateless
RPC negotiation). This forms a baseline of comparison to the ref-in-want
functionality (which will be introduced to the client in subsequent
commits), and ensures that subsequent commits do not change existing
behavior.

As part of this effort, a mechanism to substitute strings in a single
HTTP response is added.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd.sh
t/lib-httpd/apache.conf
t/lib-httpd/apply-one-time-sed.sh [new file with mode: 0644]
t/t5703-upload-pack-ref-in-want.sh