fetch-negotiator: add specific noop initializer
commit1836836593e90b515269b564b384dcf091a4493d
authorRobert Coup <robert@coup.net.nz>
Mon, 28 Mar 2022 14:02:05 +0000 (28 14:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Mar 2022 17:25:52 +0000 (28 10:25 -0700)
treea3e5faf9decd687c7fa4cf6b29b9d62adde054ab
parentdab1b7905d0b295f1acef9785bb2b9cbb0fdec84
fetch-negotiator: add specific noop initializer

Add a specific initializer for the noop fetch negotiator. This is
introduced to support allowing partial clones to skip commit negotiation
when performing a "refetch".

Signed-off-by: Robert Coup <robert@coup.net.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-negotiator.c
fetch-negotiator.h