The recently added --negotiate-only option segfaults when not combined with --negotiation-tip=*, this fixes that, and adds documentation for it. 1/3 is a related fix to save us some work in a codepath checking the "--negotiate-only" and other passed-in options in send-pack.c. Ævar Arnfjörð Bjarmason (3): send-pack.c: move "no refs in common" abort earlier fetch: document the --negotiate-only option fetch: fix segfault in --negotiate-only without --negotiation-tip=* Documentation/config/fetch.txt | 3 ++- Documentation/fetch-options.txt | 13 +++++++++++-- builtin/fetch.c | 3 +++ send-pack.c | 11 ++++++----- t/t5702-protocol-v2.sh | 17 +++++++++++++++++ 5 files changed, 39 insertions(+), 8 deletions(-) -- 2.32.0.619.g53a98c35da0