• Junio C Hamano's avatar
    t5802: add test for connect helper · b9ccf55e
    Junio C Hamano authored
    This is an attempt to reproduce a problem reported for a third-party
    custom "connect" remote helper.  The conjecture is that sometimes
    "git fetch" wants to make two connections (one for the primary
    transfer with 'follow-tags' option set, and then after noticing that
    some tags are not packed because the primary transfer did not have
    to send any commit that is pointed by them, another to explicitly
    ask for the missing tags), and their "connect" helper is not called
    in the second request, breaking the "fetch" as a whole.
    Unfortunately this test script does not trigger the alleged failure
    and happily passes when talking to upload-pack from git-core (see
    patch 5/5 for details).
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
t5802-connect-helper.sh 1.6 KB