git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] clone: caveat note on converting partial clone

From
Jeff King <peff@peff.net>
Date
May 30, 2021, 21:47 UTC
Message-ID
<YLQH7i5IPSdBnDko@coredump.intra.peff.net>
In-Reply-To
<20210529120730.38472-1-bagasdotme@gmail.com>
On Sat, May 29, 2021 at 07:07:31PM +0700, Bagas Sanjaya wrote:
Show 11 quoted lines
> Currently partial clones can't be converted into full clones, because
> there is an issue where the remote can't send all missing objects
> required.
> 
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
>  This patch is based on "clone: document partial clone section" by Teng
>  Long [1].
> 
>  [1]:
> https://lore.kernel.org/git/pull.745.v5.git.git.1614695133486.gitgitgadget@gmail.com/
Wouldn't:
  git -c fetch.negotiationAlgorithm=noop fetch ...
work?

IMHO that is not ideal, and I would like to see it work even when we provide "have" lines to the server. But if we are going to tell users something in the documentation, pointing them to this technique is probably much more helpful than saying "it can't be done".

-Peff
Previous: Bagas SanjayaNext: Derrick Stolee
Message 2 of 3 in “clone: caveat note on converting partial clone”
  1. clone: caveat note on converting partial cloneBagas Sanjaya, May 29, 2021
  2. Jeff KingMay 30, 2021
  3. Derrick StoleeJun 1, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.